agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feed[Pljava-dev] Error Loading libpljava.so
2+ messages / 0 participants
[nested] [flat]
* [Pljava-dev] Error Loading libpljava.so
@ 2005-08-11 17:17
2005-08-11 19:43 ` [Pljava-dev] Error Loading libpljava.so
0 siblings, 1 reply; 2+ messages in thread
From: @ 2005-08-11 17:17 UTC (permalink / raw)
Everyone,
I am getting the following error when I try to run the deployer:
ERROR: could not load library "/usr/lib64/pgsql/libpljava.so":
/usr/lib64/pgsql/libpljava.so: cannot open shared object file: No such
file or directory
The file does exist, and it has the same permissions as other postgresql
library files in the same directory. I am running Fedora Core 4 on a 64
bit Athlon machine and postgresql version 8.0.3. In postgresql.conf, I
have defined the following:
custom_variable_classes = 'pljava'
pljava.classpath = '/usr/lib64/pgsql/pljava.jar'
In order to have postmaster know where the java runtime libraries are, I
have put the following in /etc/init.d/postgresql:
export JAVA_HOME=/usr/lib/jvm/jre-1.5.0-sun
export
LD_LIBRARY_PATH=$JAVA_HOME/lib/amd64:$JAVA_HOME/lib/amd64/native_threads
Based on what I have read in the documents, and the other instances of
this type of error being reported in the archives, I thought that this
should be enough.
Any help you can give would be appriciated.
--
Philip A. Chapman
Application Development:
Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL
Linux, Windows 9x, Windows NT, Windows 2000, Windows XP
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20050811/b73c5307/attachment.bin;
^ permalink raw reply [nested|flat] 2+ messages in thread
* [Pljava-dev] Error Loading libpljava.so
2005-08-11 17:17 [Pljava-dev] Error Loading libpljava.so
@ 2005-08-11 19:43 `
0 siblings, 0 replies; 2+ messages in thread
From: @ 2005-08-11 19:43 UTC (permalink / raw)
My guess is that you're missing $JAVA_HOME/lib/amd64/client (or server)
from the LD_LIBRARY_PATH.
Regards,
Thomas Hallgren
Philip A. Chapman wrote:
>Everyone,
>
>I am getting the following error when I try to run the deployer:
>
>ERROR: could not load library "/usr/lib64/pgsql/libpljava.so":
>/usr/lib64/pgsql/libpljava.so: cannot open shared object file: No such
>file or directory
>
>The file does exist, and it has the same permissions as other postgresql
>library files in the same directory. I am running Fedora Core 4 on a 64
>bit Athlon machine and postgresql version 8.0.3. In postgresql.conf, I
>have defined the following:
>
>custom_variable_classes = 'pljava'
>pljava.classpath = '/usr/lib64/pgsql/pljava.jar'
>
>In order to have postmaster know where the java runtime libraries are, I
>have put the following in /etc/init.d/postgresql:
>
>export JAVA_HOME=/usr/lib/jvm/jre-1.5.0-sun
>export
>LD_LIBRARY_PATH=$JAVA_HOME/lib/amd64:$JAVA_HOME/lib/amd64/native_threads
>
>Based on what I have read in the documents, and the other instances of
>this type of error being reported in the archives, I thought that this
>should be enough.
>
>Any help you can give would be appriciated.
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Pljava-dev mailing list
>Pljava-dev at gborg.postgresql.org
>http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-08-11 19:43 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-08-11 17:17 [Pljava-dev] Error Loading libpljava.so
2005-08-11 19:43 `
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox