[cffi-devel] try-foreign-library-alternatives patch

Stephen Compall s11 at member.fsf.org
Tue Jan 10 02:28:15 UTC 2006


I was getting a load-foreign-library-error on the following:

(define-foreign-library libcurl
  (:unix (:or "libcurl.so.3" "libcurl.so"))
  ((:not :unix) (:default "libcurl")))

(use-foreign-library libcurl)

until I patched try-foreign-library-alternatives as in the attached
darcs patch, also at
http://csserver.evansville.edu/~sc87/cffi/tfla-success.patch

If load-foreign-library is supposed to answer non-nil on success, a
different patch is in order.

-- 
Stephen Compall
http://scompall.nocandysw.com/blog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tfla-success.patch
Type: text/x-patch
Size: 47200 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20060109/ae71eab1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20060109/ae71eab1/attachment.sig>


More information about the cffi-devel mailing list