[Cl-smoke] Building cl-smoke on Mac OS X

Elliott Slaughter elliottslaughter at gmail.com
Wed Feb 17 01:17:08 CET 2010


On Tue, Feb 16, 2010 at 3:54 PM, Tobias Rautenkranz
<tobias at rautenkranz.ch>wrote:

> > But now I get a similar error when I try to load libclsmoke:
> What happens when you just load libclsmoke with:
>
> (asdf:oos 'asdf:load-op :cffi)
> (push #p"/opt/local/lib/" cffi:*foreign-library-directories*)
> (cffi:define-foreign-library clsmoke
>        (:darwin "libclsmoke.dylib"))
>  (cffi:load-foreign-library 'clsmoke)
>
> and don't use cl-smoke.
>

Same error:

*  (cffi:load-foreign-library 'clsmoke)

debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread #<THREAD
                                                                  "initial
thread" RUNNING

 {11A1D9E9}>:
  Unable to load foreign library (CLSMOKE).
  Error opening shared object "/opt/local/lib/libclsmoke.0.0.1.dylib":
  dlopen(3) failed.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY    ] Try loading the foreign library again.
  1: [USE-VALUE] Use another library instead.
  2: [ABORT    ] Exit debugger, returning to top level.

(CFFI::FL-ERROR "Unable to load foreign library (~A).~%  ~A")[:EXTERNAL]
0] ba

0: (CFFI::FL-ERROR "Unable to load foreign library (~A).~%  ~A")[:EXTERNAL]
1: (CFFI::LOAD-FOREIGN-LIBRARY-PATH CLSMOKE "libclsmoke.dylib" NIL)
2: ((FLET CFFI::%DO-LOAD)
    #<CFFI:FOREIGN-LIBRARY {11B57BF1}>
    CLSMOKE
    "libclsmoke.dylib")
3: (CFFI:LOAD-FOREIGN-LIBRARY CLSMOKE)[:EXTERNAL]
4: (SB-INT:SIMPLE-EVAL-IN-LEXENV
    (CFFI:LOAD-FOREIGN-LIBRARY 'CLSMOKE)
    #<NULL-LEXENV>)
5: (INTERACTIVE-EVAL (CFFI:LOAD-FOREIGN-LIBRARY 'CLSMOKE))[:EXTERNAL]
6: (SB-IMPL::REPL-FUN NIL)
7: ((LAMBDA ()))
8: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {11CC1845}>)
9: (SB-IMPL::TOPLEVEL-REPL NIL)
10: (SB-IMPL::TOPLEVEL-INIT)
11: ((LABELS SB-IMPL::RESTART-LISP))


-- 
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict
the future is to invent it." - Alan Kay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tobias.rautenkranz.ch/pipermail/cl-smoke_tobias.rautenkranz.ch/attachments/20100216/f17ceea6/attachment-0002.html>


More information about the Cl-smoke mailing list