[Pljava-dev] java.sql.SQLException: ERROR: could not load library "/usr/local/pgsql/lib/libpljava.so": libjvm.so

From: victor(dot)perez at e-evolution(dot)com(dot)mx (Victor)
To:
Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not load library "/usr/local/pgsql/lib/libpljava.so": libjvm.so
Date: 2005-02-14 17:00:47
Message-ID: 1108400447.5256.19.camel@vpj.eevolution
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi!

I complied pljava with this environment :

java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_01-b08, mixed mode)

Now I recived this error:

java.sql.SQLException: ERROR: could not load library
"/usr/local/pgsql/lib/libpljava.so": libjvm.so: no se puede abrir el
fichero del objeto compartido: No existe el fichero o el directorio
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1471)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1256)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:388)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:313)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:305)
at
org.postgresql.pljava.deploy.Deployer.initJavaHandler(Deployer.java:417)
at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:275)

or this via psql:

CREATE SCHEMA
GRANT
ERROR: could not load library "/usr/local/pgsql/lib/libpljava.so":
libjvm.so: no se puede abrir el fichero del objeto compartido: No existe
el fichero o el directorio
ERROR: function sqlj.java_call_handler() does not exist
NOTICE: CREATE TABLE will create implicit sequence
"jar_repository_jarid_seq" for serial column "jar_repository.jarid"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"jar_repository_pkey" for table "jar_repository"
NOTICE: CREATE TABLE / UNIQUE will create implicit index
"jar_repository_jarname_key" for table "jar_repository"
CREATE TABLE
GRANT
NOTICE: CREATE TABLE will create implicit sequence
"jar_entry_entryid_seq" for serial column "jar_entry.entryid"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"jar_entry_pkey" for table "jar_entry"
NOTICE: CREATE TABLE / UNIQUE will create implicit index
"jar_entry_jarid_key" for table "jar_entry"
CREATE TABLE
GRANT
ALTER TABLE
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"classpath_entry_pkey" for table "classpath_entry"
CREATE TABLE
GRANT
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist

LD_LIBRARY_PATH=/usr/lib/jvm/jdk1.5.0_01/jre/lib/amd64:/usr/lib/jvm/jdk1.5.0_01/jre/lib/amd64/server:/usr/lib/jvm/jdk1.5.0_01/jre/lib/amd64/native_threads:/usr/local/pgsql/lib

I do not understand what is happening?

I will appreciate any help!!!

El lun, 14-02-2005 a las 10:05 -0600, Victor escribi?:
>
>
> pljava-dev at gborg.postgresql.org
Victor P?rez Ju?rez
e-Evolutiuon, S.C.
www.e-evolution.com.mx
victor.perez at e-evolution.com
Tel: (52)7711070937

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2005-02-14 18:20:08 [Pljava-dev] java.sql.SQLException: ERROR: could not load library "/usr/local/pgsql/lib/libpljava.so": libjvm.so
Previous Message Thomas Hallgren 2005-02-14 16:44:18 [Pljava-dev] java.sql.SQLException: ERROR: could not load library undefined symbol: JNI_CreateJavaVM