[UFFI-Users] question re. shared libraries
rif
rif at MIT.EDU
Mon Apr 26 12:55:24 MDT 2004
I am using UFFI 1.4.12, and the 2003-11 build of CMUCL on Linux.
I am trying to understand the situation with loading shared libraries
(.so) files. For instance, I have written a small C program that
accesses a function in a .so library. At link time, I link to this
library only, and the program runs. If I ldd on this small C program,
I get a list of 11 libraries that are being dynamically loaded. Do I
need to manually preload all these, perhaps in the reverse of the
order they're listed in ldd, for CMUCL to be happy?
Also, is the fact that load-foreign-library returns T without
specifying any of the "dependency" libraries relevant? Or will it
happily return T as long as it finds the shared library itself, and
then I lose when I try to use it?
Cheers,
rif
More information about the UFFI-Users
mailing list