[kaffe] System.loadLibrary() should look in /lib and /usr/lib

Mark Wielaard mark at klomp.org
Sun Jun 22 05:11:01 PDT 2003


Hi,

When doing a System.loadLibrary() kaffe doesn't look into the standard
/lib and /usr/lib directories for the library. But gives:

java.lang.UnsatisfiedLinkError: libGTKJava: not found
Adding its directory to LD_LIBRARY_PATH may help.

And indeed adding /usr/lib (where the library is installed) to
LD_LIBRARY_PATH seems to work, but it would be more convenient if kaffe
would automatically load standard libraries (from /lib and /usr/lib).

Cheers,

Mark





More information about the kaffe mailing list