From: gulden at portugalmail.pt (Gulden) Date: Fri, 1 Apr 2005 19:20:30 +0100 Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local In-Reply-To: <424D5731.6090801@mailblocks.com> Message-ID: <200504011819.j31IJNnn012603@localhost.localdomain> 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