agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] Re: ERROR: could not load library "/postgresql-7.4.2/libpljava.so": libjvm.so
Date: Wed, 11 Aug 2004 13:28:58 -0300
Message-ID: <010201c47fc0$4ed4bdf0$0164a8c0@ipe> (raw)
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;
view thread (4+ messages) latest in thread
Message-ID: <010201c47fc0$4ed4bdf0$0164a8c0@ipe>
Permalink: ../010201c47fc0$4ed4bdf0$0164a8c0@ipe/
Also on: postgresql.org/message-id/010201c47fc0$4ed4bdf0$0164a8c0@ipe
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] Re: ERROR: could not load library "/postgresql-7.4.2/libpljava.so": libjvm.so
In-Reply-To: <010201c47fc0$4ed4bdf0$0164a8c0@ipe>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox