public inbox for [email protected]  
help / color / mirror / Atom feed
Subject: [Pljava-dev]  Install PlJava 1.4 in Debian Etch Amd64
Date: Sat, 28 Jun 2008 08:17:20 -0700 (PDT)
Message-ID: <[email protected]> (raw)


Hello,

I trying to install pljava in my postgresql database. My system is Debian
Etch and Postgresql 8.1.

When i execute psql -U postgres -d template1 -f /tmp/install.sql, i got this
error:

psql:/tmp/install.sql:6: ERROR:  could not load library
"/usr/lib/postgresql/8.1/lib/pljava.so": libjvm.so: cannot open shared
object file: No such file or directory

Informations about my environment are below.


Any idea?

Regards
Fernando

-- Informations --

debian:/etc/postgresql/8.1/main# ldd /usr/lib/postgresql/8.1/lib/pljava.so
        libjvm.so =>
/usr/lib/jvm/java-1.5.0-sun/jre/lib/amd64/server/libjvm.so
(0x00002ab939d89000)
        libc.so.6 => /lib/libc.so.6 (0x00002ab93a70f000)
        libm.so.6 => /lib/libm.so.6 (0x00002ab93a94c000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002ab93aacf000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002ab93abd2000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)


Path:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.5.0-sun:/usr/lib/jvm/java-1.5.0-sun/bin:/usr/lib/jvm/java-1.5.0-sun/lib:/usr/lib/jvm/java-1.5.0-sun/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun/jre/lib/amd64/server:/usr/lib/jvm/java-1.5.0-sun/jre/lib/amd64/native_threads:/usr/lib/postgresql/8.1/lib

LD_LIBRARY_PATH:
/usr/lib/jvm/java-1.5.0-sun/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun/jre/lib/amd64/server:/usr/lib/jvm/java-1.5.0-sun/jre/lib/amd64/server/native_threads

Postgresql.conf:
dynamic_library_path = '$libdir:/usr/share/postgresql-8.1-pljava'
custom_variable_classes = 'pljava'
pljava.classpath = '/usr/share/postgresql-8.1-pljava/pljava.jar'
pljava.debug = false
pljava.release_lingering_savepoints = true
pljava.statement_cache_size = 10



-- 
View this message in context: http://www.nabble.com/Install-PlJava-1.4-in-Debian-Etch-Amd64-tp18170970p18170970.html
Sent from the PL/Java mailing list archive at Nabble.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: [email protected]
  Subject: Re: [Pljava-dev]  Install PlJava 1.4 in Debian Etch Amd64
  In-Reply-To: <[email protected]>

* 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