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

From: rodrigo at syspoint(dot)com(dot)br (Rodrigo Foscarini)
To:
Subject: [Pljava-dev] Re: ERROR: could not load library "/postgresql-7.4.2/libpljava.so": libjvm.so
Date: 2004-08-11 16:28:58
Message-ID: 010201c47fc0$4ed4bdf0$0164a8c0@ipe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2004-08-11 17:22:13 [Pljava-dev] Re: ERROR: could not load library "/postgresql-7.4.2/libpljava.so": libjvm.so
Previous Message Thomas Hallgren 2004-08-11 09:31:43 [Pljava-dev] Limitation in statement parameters