From: rodrigo at syspoint.com.br (Rodrigo Foscarini) Date: Wed, 11 Aug 2004 13:28:58 -0300 Subject: [Pljava-dev] Re: ERROR: could not load library "/postgresql-7.4.2/libpljava.so": libjvm.so Message-ID: <010201c47fc0$4ed4bdf0$0164a8c0@ipe> Hi Thomas, > I am getting the following error message when i am trying to deploy > pl/java > > java.sql.SQLException: ERROR: could not load library > "/postgresql-7.4.2/libpljava.so": libjvm.so: cannot open shared object > file: Arquivo ou diret?o n?encontrado > >Your LD_LIBRARY_PATH points to the $JAVA_HOME/jre/lib/i386/server but >not to the directory above it where a lot of neede shared object files >reside. The error reported from the shared object loader is probably >somewhat misleading. It does indeed find the libjvm.so but it fails on >one of its dependencies. Try this setting instead: >$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client >Regards, > >Thomas Hallgren First, thank you for your response. I'm very interested in your project. I will go write my Oracle Stored Procedures (PL/SQL) and PL/PGSQL Stored Procedures in JAVA. I was tested three days ago LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client and how not run I put "/server" because I found libjvm.so in this directory. It was a tentative. Not Run, then i try now $JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client but the error continue. I'm executing "java org.postgresql.pljava.deploy.Deployer -install -user postgres -database teste" as user postgres. Correct ? Are permissions maybe ? Regards, Rodrigo - Syspoint -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PCarta SYSPOINT 2.jpg Type: image/jpeg Size: 24188 bytes Desc: not available URL: