[Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local

From: ironjug at hotmail(dot)com (Thomas Hallgren)
To:
Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local
Date: 2005-04-01 13:47:49
Message-ID: 424D5105.5080205@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2005-04-01 13:48:27 [Pljava-dev] triggers
Previous Message Antonio Carlos 2005-04-01 13:47:23 [Pljava-dev] java.sql.SQLException: ERROR: could not load library"/usr/local