[Pljava-dev] PostgreSQL is unable to load the libpljava.so

From: ilazaro at tekniker(dot)es ( Ignacio Lázaro )
To:
Subject: [Pljava-dev] PostgreSQL is unable to load the libpljava.so
Date: 2005-10-27 12:05:08
Message-ID: 5234B8D9C36F9E4D9B1AF01013708B6B0152BA57@txindoki.tekniker.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi
I have defined in postgresql.conf the dynamic_library_path variable
dynamic_library_path='$libdir:/var/lib/pgsql/pljava:/usr/java/jre1.5.0_01/bin/i386/client'

Nacho

-----Mensaje original-----
De: Rakesh Vidyadharan [mailto:rakesh at rakeshv.org]
Enviado el: jueves, 27 de octubre de 2005 13:31
Para: Ignacio L?zaro
CC: pljava-dev at gborg.postgresql.org
Asunto: Re: [Pljava-dev] PostgreSQL is unable to load the libpljava.so

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'

Browse pljava-dev by date

  From Date Subject
Next Message Ignacio Lázaro 2005-10-27 12:12:37 [Pljava-dev] PostgreSQL is unable to load the libpljava.so
Previous Message Rakesh Vidyadharan 2005-10-27 11:31:07 [Pljava-dev] PostgreSQL is unable to load the libpljava.so