[Pljava-dev] Re: ERROR: could not load library "/postgresql-7.4.2/libpljava.so": libjvm.so

Rodrigo Foscarini rodrigo at syspoint.com.br
Wed Aug 11 16:28:58 UTC 2004


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: http://pgfoundry.org/pipermail/pljava-dev/attachments/20040811/416df146/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 24188 bytes
Desc: not available
Url : http://pgfoundry.org/pipermail/pljava-dev/attachments/20040811/416df146/attachment.jpe 


More information about the Pljava-dev mailing list