archimag/cl-sanitize — Issue #1: install from quicklisp on SBCL and Allegro CL is not working on MacOS 10.7.2
Author: arademaker
Created: 2012-02-03 00:54:22+00:00
State: open

Hello,

It seems that cl-sanitize is not installable from quicklisp in Mac OS 10.7.2. I tried from SBCL and Allegro CL. The error seems to be with cl-libxml2:

(ql:quickload :cl-libxml2)
To load "cl-libxml2":
Load 1 ASDF system:
cl-libxml2
; Loading "cl-libxml2"

Unable to load any of the alternatives:
("libxml2.so" "libxml2.so.2")
[Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]

Restarts:
0: [RETRY] Try loading the foreign library again.
1: [USE-VALUE] Use another library instead.
2: [SKIP] Skip loading foreign library libxml2.
3: [RETRY] retry the load of /Users/arademaker/.cache/common-lisp/acl-8.2a-macosx-x64/Users/arademaker/quicklisp/dists/quicklisp/software/cl-libxml2-20111001-git/tree/xtree.fasl
4: [SKIP] skip loading /Users/arademaker/.cache/common-lisp/acl-8.2a-macosx-x64/Users/arademaker/quicklisp/dists/quicklisp/software/cl-libxml2-20111001-git/tree/xtree.fasl
5: [TRY-RECOMPILING] Recompile xtree and try loading it again
--more--

Backtrace:
0: (ERROR CFFI:LOAD-FOREIGN-LIBRARY-ERROR :FORMAT-CONTROL "Unable to load any of the alternatives:~% ~S" :FORMAT-ARGUMENTS (("libxml2.so" "libxml2.so.2")))
1: (CFFI::FL-ERROR "Unable to load any of the alternatives:~% ~S" ("libxml2.so" "libxml2.so.2"))
2: (CFFI::TRY-FOREIGN-LIBRARY-ALTERNATIVES LIBXML2.TREE::LIBXML2 ("libxml2.so" "libxml2.so.2"))
3: (CFFI::LOAD-FOREIGN-LIBRARY-HELPER LIBXML2.TREE::LIBXML2 (:OR "libxml2.so" "libxml2.so.2") NIL)
4: ((FLET CFFI::%DO-LOAD-FOREIGN-LIBRARY CFFI::%DO-LOAD) # LIBXML2.TREE::LIBXML2 (:OR "libxml2.so" "libxml2.so.2"))
5: (CFFI::%DO-LOAD-FOREIGN-LIBRARY LIBXML2.TREE::LIBXML2 NIL)
6: (CFFI:LOAD-FOREIGN-LIBRARY LIBXML2.TREE::LIBXML2)
7: ((:TOP-LEVEL-FORM "xtree.lisp" 547))
....

Any idea?