agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] PostgreSQL is unable to load the libpljava.so
Date: Thu, 27 Oct 2005 06:31:07 -0500
Message-ID: <ECCE02FF-8422-416F-9746-7D5FB3A33429@rakeshv.org> (raw)
In-Reply-To: <loom.20051027T084439-37@post.gmane.org>
References: <loom.20051027T084439-37@post.gmane.org>


On 27 Oct 2005, at 01:55, Nacho wrote:

> Hello
> I?m trying to install PLJAVA in PostgreSQL 8.0 (Red hat 9) but I can 
> ?t install
> because I get an error loading libpljava.so.
> I have defined the JAVA_HOME, the PATH, the LD_LIBRARY_PATH and  
> CLASSPATH
> environment variables but I get the error
>
> 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
>
> JAVA_HOME=/usr/java/jre1.5.0_01
> PATH=$PATH:.:$JAVA_HOME/lib/i386/server:$JAVA_HOME/bin
> LD_LIBRARY_PATH=$JAVA_HOME/lib/i386:$JAVA_HOME/lib/i386/client: 
> $JAVA_HOME/lib/i3
> 86/native_threads

Do you have something similar to the following in your  
postgresql.conf file?

dynamic_library_path = '$libdir:/usr/local/pgsql/lib/pljava'



view thread (8+ messages)  latest in thread

Message-ID: <ECCE02FF-8422-416F-9746-7D5FB3A33429@rakeshv.org>
Permalink:  ../ECCE02FF-8422-416F-9746-7D5FB3A33429@rakeshv.org/
Also on:    postgresql.org/message-id/ECCE02FF-8422-416F-9746-7D5FB3A33429@rakeshv.org

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] PostgreSQL is unable to load the libpljava.so
  In-Reply-To: <ECCE02FF-8422-416F-9746-7D5FB3A33429@rakeshv.org>

* 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