Re: dlopen failure on sbcl/macosx
"Sean Charles" <[email protected]>
| Newsgroups | gmane.lisp.clsql.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Harald, Yes, I use CLSQL on OSX 10.5.8 with SBCL 1.0.30 with no problems. It is an intel powered Mac by the way, I forgot to mention that! I had *some* issues regarding it (SBCL)finding the location of the mysql client libraries which I detailed here: http://objitsu.com/blog/2009/10/21/cl-sql-and-mysql-on-os-x/ If you can't be bothered to read my wittering, essentially my path of least resistance solution was to set the DYLD_LIBRARY_PATH environment variable to "/sw/lib/mysql" *BEFORE* installing clsql via asdf-install. That was the only problem that I had and I have had plenty of joy since then *apart* from handling bad utf8 data that was put into a database by some other application that causes a c-string-decoding-error condition to be thrown but that is another story! Maybe adding the location of those libraries you mention to the above variable might help! :) Regards Sean Charles. On 3 Nov 2009, at 15:13, Harald Hanche-Olsen wrote: > Has anybody had success running clsql on SBCL on the Mac? > > Compiling and loading goes well until find-and-load-foreign-library > (in uffi/clsql-uffi-loader.lisp) tries to load the clsql_uffi library. > When I add the commented-out warning to the error clause in the > handler-case form inside the function definition, it spews warnings > including this one: > > WARNING: > Error opening shared object "/local/src/lisp/clsql/uffi/ > clsql_uffi.dylib": > dlopen(3) failed. > > And then the load fails, of course. > But the named file does exist, and is seen by PROBE-FILE. > > What would be the next step in debugging this? > The whole uffi thing is pretty much a black box to me. > Do I need to look inside it? > > - Harald > _______________________________________________ > CLSQL mailing list > [email protected] > http://lists.b9.com/cgi-bin/mailman/listinfo/clsql ________________________________________ This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system. WARNING : Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. Please note that any opinions presented in this email are solely those of the author and do not necessarily represent those of GOD TV. ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### _______________________________________________ CLSQL mailing list [email protected] http://lists.b9.com/cgi-bin/mailman/listinfo/clsql