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

From: acabhgg at hotmail(dot)com (Antonio Carlos)
To:
Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local
Date: 2005-04-01 14:20:52
Message-ID: BAY12-F39AEE026BAAEFF96349D75A6380@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

I think no... it seems the matter is jvm....

Try to link again your libraries...

ln -s /usr/local/share/jsdk1.4/j2sdk1.4.0_02/lib/libjava.so
/usr/lib/libjava.so
ln -s /usr/local/share/jsdk1.4/j2sdk1.4.0_02/lib/libawt.so
/usr/lib/libawt.so
ln -s /usr/local/share/jsdk1.4/j2sdk1.4.0_02/lib/libverify.so
/usr/lib/libverify.so
ln -s /usr/local/share/jsdk1.4/j2sdk1.4.0_02/lib/libmlib_image.so
/usr/lib/libmlib_image.s

Try again http://gagravarr.livejournal.com/83889.html it will to help to
debugger in Postgresql...

Antonio - Rio - Brazil

>From: "Gulden" <gulden at portugalmail.pt>
>To: "'Thomas Hallgren'" <ironjug at hotmail.com>
>CC: "'Filip Hrbek'" <filip.hrbek at plz.comstar.cz>, "'Antonio Carlos de
>Andrade Brito'" <acabhgg at hotmail.com>, <pljava-dev at gborg.postgresql.org>
>Subject: RE: [Pljava-dev] java.sql.SQLException: ERROR: could
>not loadlibrary"/usr/local
>Date: Fri, 1 Apr 2005 15:06:55 +0100
>
>Removing the trailing '/' is not the solution.
>
>Could be the problem be related with the way the postresql were
>"compiled"!!!
>I've installed postgresql with the RPM's from postgresql.org
>
>
>
>-----Original Message-----
>From: Thomas Hallgren [mailto:ironjug at hotmail.com]
>Sent: sexta-feira, 1 de Abril de 2005 13:48
>To: Gulden
>Cc: 'Filip Hrbek'; 'Antonio Carlos de Andrade Brito';
>pljava-dev at gborg.postgresql.org
>Subject: Re: [Pljava-dev] java.sql.SQLException: ERROR: could not
>loadlibrary"/usr/local
>
>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/jr
>e
> >/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
>

_________________________________________________________________
MSN Messenger: converse online com seus amigos .
http://messenger.msn.com.br

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2005-04-01 15:33:14 [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local
Previous Message Thomas Hallgren 2005-04-01 14:14:09 [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local