[Pljava-dev] could not access file " libpljava " : No such file or directory

From: jpalex at mail(dot)ru (JAlex Alex)
To:
Subject: [Pljava-dev] could not access file " libpljava " : No such file or directory
Date: 2005-07-30 15:09:30
Message-ID: E1Dysxu-000EBE-00.jpalex-mail-ru@f31.mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hello everyone
Really hope to get a peace of advice from you.
Searching this maillist didn't help me anyhow.
----------------
Linux 2.6.12-1.1387_FC4 #1 Fri Jul 1 12:40:13 EDT 2005 x86_64 x86_64 x86_64 GNU/Linu

(PostgreSQL) 8.0.3

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_04-b05, mixed mode)

pljava-1.1.0

-----------------
/home/root/.bashrc

export JAVA_HOME=/usr/local/java/jdk1.5
export ANT_HOME=/usr/local/java/ant
export PATH=${ANT_HOME}/bin:${PATH}
export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64:$JAVA_HOME/jre/lib/amd64/native_threads:$JAVA_HOME/jre/lib/amd64/server

-----------------
/var/lib/pgsql/data/postgresql.conf

dynamic_library_path = '$libdir:/usr/local/java/javalibs/pljava-1.1.0/build/objs'
custom_variable_classes = 'pljava'
pljava.classpath = '/usr/local/java/javalibs/pljava-1.1.0/build/pljava.jar'
------------------

when trying to run
java org.postgresql.pljava.deploy.Deployer -install

jjava.sql.SQLException: ERROR: could not access file "libpljava": No such file or directory
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1471)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1256)
....
-------------------
the postgresql log file

DEBUG: ProcessUtility
DEBUG: find_in_dynamic_libpath: trying "/usr/lib64/pgsql/libpljava"
DEBUG: find_in_dynamic_libpath: trying "/usr/local/java/javalibs/pljava-1.1.0/build/objs/libpljava"
DEBUG: find_in_dynamic_libpath: trying "/usr/lib64/pgsql/libpljava.so"
DEBUG: find_in_dynamic_libpath: trying "/usr/local/java/javalibs/pljava-1.1.0/build/objs/libpljava.so"
ERROR: could not access file "libpljava": No such file or directory
-------------------

Of course there is such file /usr/local/java/javalibs/pljava-1.1.0/build/objs/libpljava.so
But there is no such file libpljava
Why does it looks for that file?

Can anyone explain me what's happening ?
How to fight this problem?

thanks in advance

Alex

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2005-07-30 17:07:48 [Pljava-dev] could not access file " libpljava " : No such file or directory
Previous Message Shunsuke Ikegami 2005-07-26 07:45:36 [Pljava-dev] create oid and WARNING