agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local
Date: Fri, 1 Apr 2005 19:20:30 +0100
Message-ID: <200504011819.j31IJNnn012603@localhost.localdomain> (raw)
In-Reply-To: <424D5731.6090801@mailblocks.com>
I've added this entry on classpath:
/usr/java/j2sdk1.4.1_02/jre/lib/i386
Without success!!
export
LD_LIBRARY_PATH=/usr/java/j2sdk1.4.1_02/jre/lib:/usr/java/j2sdk1.4.1_02/jre/
lib/i386:/usr/java/j2sdk1.4.1_02/jre/lib/i386/client ; java -cp
/var/lib/pgsql/pljava/deploy.jar:/usr/share/java/postgresql-8.0-310.jdbc3.ja
r 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
-----Original Message-----
From: Thomas Hallgren [mailto:thhal at mailblocks.com]
Sent: sexta-feira, 1 de Abril de 2005 14:14
To: Thomas Hallgren
Cc: Gulden; pljava-dev at gborg.postgresql.org
Subject: Re: [Pljava-dev] java.sql.SQLException: ERROR: could not
loadlibrary"/usr/local
Thomas Hallgren wrote:
> Gulden wrote:
>
>> How can i do that?
>>
>> In one experience I've put this line in the /etc/init.d/postgres file
>>
>> export
>>
LD_LIBRARY_PATH=/usr/java/j2sdk1.4.1_02/jre/lib/:/usr/java/j2sdk1.4.1_02/jre
>>
>> /lib/i386/client/:/usr/java/j2sdk1.4.1_02/jre/lib/i386/native_threads/
>>
>> and it didn't solve the problem.
>
Hmm, b.t.w. the first entry in the above path is incorrect. It's missing
the i386 at the end..
- thomas
view thread (31+ messages) latest in thread
Message-ID: <200504011819.j31IJNnn012603@localhost.localdomain>
Permalink: ../200504011819.j31IJNnn012603@localhost.localdomain/
Also on: postgresql.org/message-id/200504011819.j31IJNnn012603@localhost.localdomain
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 loadlibrary"/usr/local
In-Reply-To: <200504011819.j31IJNnn012603@localhost.localdomain>
* 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