Sumit Gupta wrote:
> 
> hi
> 
> I am running jdk1.1.7 on redhat. I have a native library called
> libfoo.so and my LD_LIBRARY_PATH includes the directory where this
> library is. BUt System.loadNativeLibrary("foo") is still not able
> to find the library.

Perhaps you should try to make symbolic links with names libfoo.so.1 and
libfoo.so.1.0 to libfoo.so. It may also be that you set a weired soname
for the library when linking it. (Don't ask me more details, I'm not an
expert regarding this issue; perhaps someone other can explain).

Matthias Pfisterer


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to