From: | thhal at mailblocks(dot)com (Thomas Hallgren) |
---|---|
To: | |
Subject: | [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local |
Date: | 2005-04-01 18:53:51 |
Message-ID: | 424D98BF.7070302@mailblocks.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
Gulden wrote:
>I've added this entry on classpath:
>
>/usr/java/j2sdk1.4.1_02/jre/lib/i386
>
>Without success!!
>
>
The call to dlopen fails with "No such file or directory" when
attempting to load the libjvm.so. This indicates that the loader either
fails to locate the libjvm.so or something that it in turn requires.
Barring a corrupt Java installation, the error you encounter can only
come from an insufficient LD_LIBRARY_PATH or from setting the
LD_LIBRARY_PATH so that the backend process doesn't see it.
From your previous postings, I deduct that the correct LD_LIBRARY_PATH
should be something like:
/usr/java/j2sdk1.4.1_02/jre/lib/i386/client:/usr/java/j2sdk1.4.1_02/jre/lib/i386
perhaps with the addition of
:/usr/java/j2sdk1.4.1_02/jre/lib/i386/native_threads
although the lack of the latter would normally yield another error relating to HPI. So, please verify that your LD_LIBRARY_PATH indeed is correct, that the backend (postmaster) really is started using this path, and that your Java installation is correct. The Java you're using is quite old so a reinstallation might be a good idea anyway. The latest 1.4 is 1.4.2_07 if I remember correctly.
Regards,
Thomas Hallgren
From | Date | Subject | |
---|---|---|---|
Next Message | Gulden | 2005-04-01 19:07:12 | [Pljava-dev] java.sql.SQLException: ERROR:could not loadlibrary"/usr/local |
Previous Message | Gulden | 2005-04-01 18:20:30 | [Pljava-dev] java.sql.SQLException: ERROR: could not loadlibrary"/usr/local |