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

Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2005-10-27 이후 토토Dev 11:23
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 08:19:09
Message-ID: 5234B8D9C36F9E4D9B1AF01013708B6B0152B975@txindoki.tekniker.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Hi Thomas

>Your LD_LIBRARY_PATH looks correct. Are you sure it's exported and
>available to the postmaster when it boots up?
I have a shell script in which I define the environment variables and EXPORT them

>Why do you have $JAVA_HOME/lib/i386/server in your PATH?
Only other test

Regards Nacho

-----Mensaje original-----
De: Thomas Hallgren [mailto:thomas at tada.se]
Enviado el: jueves, 27 de octubre de 2005 9:56
Para: Ignacio L?zaro
CC: pljava-dev at gborg.postgresql.org
Asunto: Re: [Pljava-dev] PostgreSQL is unable to load the libpljava.so

Hi Nacho,
Your LD_LIBRARY_PATH looks correct. Are you sure it's exported and
available to the postmaster when it boots up?

Why do you have $JAVA_HOME/lib/i386/server in your PATH?

Regards,
Thomas Hallgren

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
>
> Any help would be very appreciate becuase I have spent a lot of time trying to
> install and I don?t know what is wrong
>
> Thanks in advance
>
>
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>


From: thomas at tada(dot)se (Thomas Hallgren)
To:
Subject: [Pljava-dev] PostgreSQL is unable to load the libpljava.so
Date: 2005-10-27 11:23:08
Message-ID: 4360B89C.6070806@tada.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2005-10-27 이후 토토Dev 11:23

Ignacio L?zaro wrote:
> Hi Thomas
>
>
>> Your LD_LIBRARY_PATH looks correct. Are you sure it's exported and
>> available to the postmaster when it boots up?
>>
> I have a shell script in which I define the environment variables and EXPORT them
>
And this is the script that is used when you start the backend? I'm
asking this because I've had discussions before where similar scripts
was used on the client side. They don't have much effect there.

Regards,
Thomas Hallgren