libltdl vs System.loadLibrary

Anthony Green green@redhat.com
Mon Nov 4 06:25:00 GMT 2002


Yesterday I spent some time debugging a problem I was having with
System.loadLibrary.

There are at least three places in libgcj which do some kind of mapping
from a short library name to a system library name, and none of them are
System.mapLibraryName(), which we don't implement.  I looked into
cleaning this up, but I'm confused about our use of libltdl.

What does libltdl buy us beyond ldopen/ldclose?  Could we just remove
it?

AG








More information about the Java mailing list