[Pljava-dev] difficulty loading library libpljava.so

Vince Clark vclark at globalera.com
Sat Apr 30 23:04:27 UTC 2005


I am trying to install pljava1.1.0. Running Postgres 8.0.2 on SuSE 9.2

I consistently receive the following error:
ERROR:  could not load library 
"/var/lib/pgsql/pljava-1.1.0/build/objs/libpljava.so": 
/var/lib/pgsql/pljava-1.1.0/build/objs/libpljava.so: cannot open shared 
object file: No such file or directory
java.sql.SQLException: ERROR: could not load library 
"/var/lib/pgsql/pljava-1.1.0/build/objs/libpljava.so": 
/var/lib/pgsql/pljava-1.1.0/build/objs/libpljava.so: cannot open shared 
object file: No such file or directory
        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:389)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:314)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:306)
        at 
org.postgresql.pljava.deploy.Deployer.initJavaHandlers(Deployer.java:419)
        at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:275)

Here is the value for dynamic_library_path in pogresql.conf file:
dynamic_library_path = 
'/var/lib/pgsql/pljava-1.1.0/build/objs/:/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/lib/i386/client/'

And LD_LIBRARY_PATH is set to:
/var/lib/pgsql/pljava-1.1.0/build/objs/:/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/lib/i386/client/

I have restarted Postgres.
-- 
Vince Clark
Global Era
The freedom of open source.
(303) 433-4221 ext. 201
(303) 455-2409 fax
vclark at globalera.com <mailto:vclark at globalera.com>
www.globalera.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pgfoundry.org/pipermail/pljava-dev/attachments/20050430/97e6d1a2/attachment.html 


More information about the Pljava-dev mailing list