agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] java.sql.SQLException: ERROR: could not load library "/usr/local/pgsql/lib/libpljava.so": libjvm.so
Date: Fri, 01 Apr 2005 08:11:55 +0200
Message-ID: <424CE62B.6060300@mailblocks.com> (raw)
In-Reply-To: <200504010045.j310jRnn001537@localhost.localdomain>
References: <200504010045.j310jRnn001537@localhost.localdomain>
Gulden wrote:
> Hi,
>
> I?m geting this error when I?m deployng PLJava:
>
> export
> LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:/usr/java/j2sdk1.4.1_02/jre/lib/i386/client/:$JAVA_HOME/jre/lib/i386/native_threads:.
> ; java -cp
> /var/lib/pgsql/pljava/deploy.jar:/usr/share/java/postgresql-8.0-310.jdbc3.jar
> org.postgresql.pljava.deploy.Deployer -reinstall -user compiere
> -database cmpcs
>
> java.sql.SQLException: ERROR: could not load library
> "/var/lib/pgsql/pljava/libpljava.so": libjvm.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: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.initJavaHandlers(Deployer.java:419)
>
> at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:275)
>
> Any tips???
>
Yes, it seems you try to export the LD_LIBRARY_PATH for the benefit of
the client program. The client doesn't care about the LD_LIBRARY_PATH.
The postmaster backend does.
Regards,
Thomas Hallgren
view thread (31+ messages) latest in thread
Message-ID: <424CE62B.6060300@mailblocks.com>
Permalink: ../424CE62B.6060300@mailblocks.com/
Also on: postgresql.org/message-id/424CE62B.6060300@mailblocks.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] java.sql.SQLException: ERROR: could not load library "/usr/local/pgsql/lib/libpljava.so": libjvm.so
In-Reply-To: <424CE62B.6060300@mailblocks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox