agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory
4+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory
@ 2006-04-06 10:34 
  2006-04-06 11:57 ` [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory 
  2006-04-06 12:07 ` [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory 
  0 siblings, 2 replies; 4+ messages in thread

From:  @ 2006-04-06 10:34 UTC (permalink / raw)

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

Have you got an idea to solve my problem ?

Thanks Eric




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory
  2006-04-06 10:34 [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory 
@ 2006-04-06 11:57 ` 
  1 sibling, 0 replies; 4+ messages in thread

From:  @ 2006-04-06 11:57 UTC (permalink / raw)


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




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory
  2006-04-06 10:34 [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory 
@ 2006-04-06 12:07 ` 
  2006-04-06 14:05   ` [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory 
  1 sibling, 1 reply; 4+ messages in thread

From:  @ 2006-04-06 12:07 UTC (permalink / raw)

Hi Eric,
Looks like "/usr/local/j2se/jre/lib/i386/client" is known to your 
loader. How about the parent directory, "/usr/local/j2se/jre/lib/i386"? 
Finding libjvm.so is not enough. It in turn, has a lot of other 
dependencies.

Regards,
Thomas Hallgren

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
>
> Have you got an idea to solve my problem ?
>
> Thanks Eric
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>   





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory
  2006-04-06 10:34 [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory 
  2006-04-06 12:07 ` [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory 
@ 2006-04-06 14:05   ` 
  0 siblings, 0 replies; 4+ messages in thread

From:  @ 2006-04-06 14:05 UTC (permalink / raw)

All works fine ...

I had to reload postgres :o((((

sorry ...

thanks
Eric


Thomas Hallgren a ?crit :

>Hi Eric,
>Looks like "/usr/local/j2se/jre/lib/i386/client" is known to your 
>loader. How about the parent directory, "/usr/local/j2se/jre/lib/i386"? 
>Finding libjvm.so is not enough. It in turn, has a lot of other 
>dependencies.
>
>Regards,
>Thomas Hallgren
>
>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
>>
>>Have you got an idea to solve my problem ?
>>
>>Thanks Eric
>>_______________________________________________
>>Pljava-dev mailing list
>>Pljava-dev at gborg.postgresql.org
>>http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>>  
>>    
>>
>
>_______________________________________________
>Pljava-dev mailing list
>Pljava-dev at gborg.postgresql.org
>http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>
>  
>





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2006-04-06 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-04-06 10:34 [Pljava-dev] libjvm.so: cannot open shared object file: No such file or directory 
2006-04-06 11:57 ` 
2006-04-06 12:07 ` 
2006-04-06 14:05   ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox