On Tue, Feb 16, 2010 at 3:18 PM, Tobias Rautenkranz <span dir="ltr"><<a href="mailto:tobias@rautenkranz.ch">tobias@rautenkranz.ch</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Can you try to get libsmokeqtcore to load without using cl-smoke;<br>
by using something like:<br>
<div class="im"><br>
(asdf:oos 'asdf:load-op :cffi)<br>
(push #p"/opt/local/lib/" cffi:*foreign-library-directories*)<br>
</div>(cffi:define-foreign-library qtcore<br>
        (:darwin "libsmokeqtcore.3.darwin")) ;; No dynlib here?<br>
(cffi:load-foreign-library 'qtcore)<br>
<br>
Maybe this will give a better error message.<br>
</blockquote></div><br>Oops, that is actually a typo I made there. (It is supposed to be dylib.) The code above loads fine with the typo fixed.<div><br></div><div>But now I get a similar error when I try to load libclsmoke:</div>
<div><br></div><div><div>debugger invoked on a SB-INT:COMPILED-PROGRAM-ERROR in thread #<THREAD</div><div>                                                                "initial thread" RUNNING</div><div>                                                                {11A1D9E9}>:</div>
<div>  Execution of a form compiled with errors.</div><div>Form:</div><div>  (LOAD-FOREIGN-LIBRARY 'LIBCLSMOKE)</div><div>Compile-time error:</div><div>  (during compile-time-too processing)</div><div>Unable to load foreign library (LIBCLSMOKE).</div>
<div>  Error opening shared object "/opt/local/lib/libclsmoke.0.0.1.dylib":</div><div>  dlopen(3) failed.</div><div><br></div><div>And this time I don't think I've made a stupid typo.</div><br>-- <br>Elliott Slaughter<br>
<br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>
</div>