agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory
Date: Thu, 6 Apr 2006 06:57:22 -0500
Message-ID: <AD6A71C8-EC8E-47B6-9900-006C855AE490@sptci.com> (raw)
In-Reply-To: <4434EEA0.4080803@insa-toulouse.fr>
References: <4434EEA0.4080803@insa-toulouse.fr>


On 06-Apr-06, at 5:34 AM, Eric BOYER wrote:

> Hello,
>
> when i launch
> SELECT
> sqlj.install_jar('file:///usr/local/aladin/testtrigger/build/ 
> test.jar',
> 'test', true);
>
> I have :
> ERROR:  could not load library "/usr/local/lib/pljava/libpljava.so":
> libjvm.so: cannot open shared object file: No such file or directory
>
> For the root user or postgres user I have under Linux :
> ldd /usr/local/lib/pljava/libpljava.so
>         libjvm.so => /usr/local/j2se/jre/lib/i386/client/libjvm.so
> (0xb7b9e000)
>         libc.so.6 => /lib/tls/libc.so.6 (0xb7a64000)
>         libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7a50000)
>         libm.so.6 => /lib/tls/libm.so.6 (0xb7a2e000)
>         libdl.so.2 => /lib/tls/libdl.so.2 (0xb7a2b000)
>         libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7a1c000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
> All seems to be OK for the PATH

I never got it working through setting LD_LIBRARY_PATH.  The only way  
it reliably worked for me was through something similiar to:

echo "/usr/java/jdk1.5.0_05/jre/lib/i386/server" > /etc/ld.so.conf.d/ 
jvm.conf
ldconfig

Rakesh




view thread (4+ messages)  latest in thread

Message-ID: <AD6A71C8-EC8E-47B6-9900-006C855AE490@sptci.com>
Permalink:  ../AD6A71C8-EC8E-47B6-9900-006C855AE490@sptci.com/
Also on:    postgresql.org/message-id/AD6A71C8-EC8E-47B6-9900-006C855AE490@sptci.com

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] libjvm.so: cannot open shared object file: No such file or directory
  In-Reply-To: <AD6A71C8-EC8E-47B6-9900-006C855AE490@sptci.com>

* 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