[Csnd] dlopen error loading lib_csnd.dylib on OSX 10.6
Date | 2010-03-31 23:32 |
From | Thunk Out |
Subject | [Csnd] dlopen error loading lib_csnd.dylib on OSX 10.6 |
Hello all, I'm using the Csound API in a Lisp project of mine. I just switched from Ubuntu to OS X 10.6.3, and I'm having some difficulty loading the library into SBCL Common Lisp.
When I try: (cffi:load-foreign-library '(:framework "CsoundLib")) I get: Unable to load foreign library (NIL).
Error opening shared object "lib_csnd.dylib": dlopen(3) failed. [Condition of type LOAD-FOREIGN-LIBRARY-ERROR] I'm using the csound5.12.3-OSX10.5-Intel.dmg package from Sourceforge. Do you think this is an issue with the package not being compiled for 10.6, or should I look for a problem elsewhere?
Thanks in advance, Luke
|
Date | 2010-03-31 23:41 |
From | Victor Lazzarini |
Subject | [Csnd] Re: dlopen error loading lib_csnd.dylib on OSX 10.6 |
If this was working in ubuntu and stopped working on OSX 10.6, this might well be because the library was built for 10.5. Maybe 10.6 is expecting the library to be 64bit? The only way of finding out for sure is to build csound from sources. I'm sorry but I have not got much experience with the CFFI bindings to be of more help. Victor On 31 Mar 2010, at 23:32, Thunk Out wrote: > Hello all, > > I'm using the Csound API in a Lisp project of mine. I just switched > from Ubuntu to OS X 10.6.3, and I'm having some difficulty loading > the library into SBCL Common Lisp. > > When I try: > > (cffi:load-foreign-library '(:framework "CsoundLib")) > > I get: > > Unable to load foreign library (NIL). > Error opening shared object "lib_csnd.dylib": > dlopen(3) failed. > [Condition of type LOAD-FOREIGN-LIBRARY-ERROR] > > > I'm using the csound5.12.3-OSX10.5-Intel.dmg package from > Sourceforge. Do you think this is an issue with the package not > being compiled for 10.6, or should I look for a problem elsewhere? > > Thanks in advance, > Luke Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-04-01 00:02 |
From | Thunk Out |
Subject | [Csnd] Re: Re: dlopen error loading lib_csnd.dylib on OSX 10.6 |
Yup, it was working great in Ubuntu. I'll go ahead and build from source and update you all with the result. Thanks again, Luke On Wed, Mar 31, 2010 at 5:41 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: If this was working in ubuntu and stopped working on OSX 10.6, this might well be because the library was built for 10.5. Maybe 10.6 is expecting the library to be 64bit? |
Date | 2010-04-01 08:03 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: dlopen error loading lib_csnd.dylib on OSX 10.6 |
Hi, I've been using the pre-built framework on 10.6, and they work fine on the C++ API, so this must be a problem only of the Lisp bindings. Cheers, Andres On Wed, Mar 31, 2010 at 11:41 PM, Victor Lazzarini |