agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Error Loading libpljava.so
Date: Thu, 11 Aug 2005 21:43:20 +0200
Message-ID: <thhal-03ELXAzXI77QNMHNE0ro+iJ+M/i0NnX@mailblocks.com> (raw)
In-Reply-To: <42FB8811.7020608@pcsw.us>
References: <42FB8811.7020608@pcsw.us>
	<42FBAA58.8010909@mailblocks.com>
	<thhal-020LXAzPI77QUdF75uylkJLs5OgTphh@mailblocks.com>

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
>  
>






view thread (2+ messages)

Message-ID: <thhal-03ELXAzXI77QNMHNE0ro+iJ+M/i0NnX@mailblocks.com>
Permalink:  ../thhal-03ELXAzXI77QNMHNE0ro+iJ+M%2Fi0NnX@mailblocks.com/
Also on:    postgresql.org/message-id/thhal-03ELXAzXI77QNMHNE0ro+iJ+M/i0NnX@mailblocks.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] Error Loading libpljava.so
  In-Reply-To: <thhal-03ELXAzXI77QNMHNE0ro+iJ+M/i0NnX@mailblocks.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