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

Elliott Slaughter elliottslaughter at gmail.com
Wed Feb 17 00:42:07 CET 2010


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

> Can you try to get libsmokeqtcore to load without using cl-smoke;
> by using something like:
>
> (asdf:oos 'asdf:load-op :cffi)
> (push #p"/opt/local/lib/" cffi:*foreign-library-directories*)
> (cffi:define-foreign-library qtcore
>        (:darwin "libsmokeqtcore.3.darwin")) ;; No dynlib here?
> (cffi:load-foreign-library 'qtcore)
>
> Maybe this will give a better error message.
>

Oops, that is actually a typo I made there. (It is supposed to be dylib.)
The code above loads fine with the typo fixed.

But now I get a similar error when I try to load libclsmoke:

debugger invoked on a SB-INT:COMPILED-PROGRAM-ERROR in thread #<THREAD
                                                                "initial
thread" RUNNING
                                                                {11A1D9E9}>:
  Execution of a form compiled with errors.
Form:
  (LOAD-FOREIGN-LIBRARY 'LIBCLSMOKE)
Compile-time error:
  (during compile-time-too processing)
Unable to load foreign library (LIBCLSMOKE).
  Error opening shared object "/opt/local/lib/libclsmoke.0.0.1.dylib":
  dlopen(3) failed.

And this time I don't think I've made a stupid typo.

-- 
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/8ef1feef/attachment-0002.html>


More information about the Cl-smoke mailing list