[Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local

From: gulden at portugalmail(dot)pt (Gulden)
To:
Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local
Date: 2005-04-01 18:20:30
Message-ID: 200504011819.j31IJNnn012603@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev


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

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2005-04-01 18:53:51 [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local
Previous Message Thomas Hallgren 2005-04-01 15:33:14 [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local