[cffi-devel] Set :dlopen-flags to :global-lazy in %load-foreign-library in lispworks?

John Fremlin jf at msi.co.jp
Mon May 18 01:26:57 UTC 2009


Martin Simmons <martin at lispworks.com> writes:
[...]
> Ah, I see.
>
> Another way around this problem is to make a dummy library (using ld) that
> references the others and load the dummy library first.
>
> I don't like the idea of setting :dlopen-flags to :global-lazy because it
> breaks situations where the same symbol is defined in more than one library.

That's all very well, but as other Lisps (SBCL, Allegro, etc.) with CFFI
load-foreign-library use global binding, why should Lispworks be the
exception?




More information about the cffi-devel mailing list