agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local
Date: Fri, 01 Apr 2005 15:47:49 +0200
Message-ID: <424D5105.5080205@hotmail.com> (raw)
In-Reply-To: <200504011326.j31DQYnn008303@localhost.localdomain>
References: <200504011326.j31DQYnn008303@localhost.localdomain>
Gulden wrote:
>How can i do that?
>
>In one experience I've put this line in the /etc/init.d/postgres file
>
>export
>LD_LIBRARY_PATH=/usr/java/j2sdk1.4.1_02/jre/lib/:/usr/java/j2sdk1.4.1_02/jre
>/lib/i386/client/:/usr/java/j2sdk1.4.1_02/jre/lib/i386/native_threads/
>
>and it didn't solve the problem.
>
>
Well, this is the one and only place where the LD_LIBRARY_PATH should be
set. The client doesn't need it and there's no point in including the
jvm in the dynamic_library_path in postgresql.conf either (it's sole
purpose is to find the postgresql module, the dynamic loader will never
see it). So make sure this setting is in place and that it is correct. I
suggest you try removing the trailing '/' from all path's. You don't
need them.
Regards,
Thomas Hallgren
view thread (31+ messages) latest in thread
Message-ID: <424D5105.5080205@hotmail.com>
Permalink: ../424D5105.5080205@hotmail.com/
Also on: postgresql.org/message-id/424D5105.5080205@hotmail.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] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local
In-Reply-To: <424D5105.5080205@hotmail.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