Re: question re. shared libraries

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Mon, 26 Apr 2004 19:23:37 -0600
Newsgroups gmane.lisp.uffi.general
Message-ID <[email protected]>
rif wrote:
> 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?

I wouldn't think so, but I'm not certain. As far as what UFFI does,
it's a thin layer above the lisp implementation. For CMU, I wonder if
UFFI should use CMUCL's equivalent of SBCL's
load-1-foreign. load-1-foreign loads just the .so file whereas CMUCL's
load-foreign invokes /usr/bin/ld.

> 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?

It will return T as long as it finds the shared library.

-- 
Kevin Rosenberg
kevin-HJRc7zDS/[email protected]