[Cs-dev] python interface on OSX
Date | 2005-10-25 15:46 |
From | Victor Lazzarini |
Subject | [Cs-dev] python interface on OSX |
I renamed _csnd.dylib to csnd.so and now it seems to find it, but it says ImportError: inappropriate file type for dynamic loading so it seems that _csnd.dylib is not a python extension module. Or not a rightly built one. Victor Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-10-25 16:24 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] python interface on OSX |
It seems to be an issue with the type of dynamic module. I built with -bundle instead of -dynamic and now it seems to accept that the file is in correct format but can't find the _init_csnd symbol (the lib name is _csnd.so) Victor At 15:46 25/10/2005, you wrote: >I renamed _csnd.dylib to csnd.so and now it seems to find it, >but it says > >ImportError: inappropriate file type for dynamic loading > >so it seems that _csnd.dylib is not a python extension module. >Or not a rightly built one. > >Victor > >Victor Lazzarini >Music Technology Laboratory >Music Department >National University of Ireland, Maynooth > > >------------------------------------------------------- >This SF.Net email is sponsored by the JBoss Inc. >Get Certified Today * Register for a JBoss Training Course >Free Certification Exam for All Training Attendees Through End of 2005 >Visit http://www.jboss.com/services/certification for more information >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-10-25 17:30 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] python interface on OSX |
The symbol init_csnd is probably not being exported. On OS X, I believe that you need to specify a separate text file with a list of exported symbols when linking. (Whereas Windows seems to just use a pragma to indicate this). Anthony Victor Lazzarini wrote on 10/25/05 11:24 AM: > It seems to be an issue with the type of dynamic module. I built > with -bundle instead of -dynamic and now it seems to accept > that the file is in correct format but > can't find the _init_csnd symbol (the lib name is _csnd.so) ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-10-25 17:52 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] python interface on OSX |
The symbol is exported OK, it was a confusing with the naming of the lib and the bundle issue. Thanks Victor At 17:30 25/10/2005, you wrote: >The symbol init_csnd is probably not being exported. On OS X, I believe >that you need to specify a separate text file with a list of exported >symbols when linking. (Whereas Windows seems to just use a pragma to >indicate this). > >Anthony > >Victor Lazzarini wrote on 10/25/05 11:24 AM: > > > It seems to be an issue with the type of dynamic module. I built > > with -bundle instead of -dynamic and now it seems to accept > > that the file is in correct format but > > can't find the _init_csnd symbol (the lib name is _csnd.so) > > > >------------------------------------------------------- >This SF.Net email is sponsored by the JBoss Inc. >Get Certified Today * Register for a JBoss Training Course >Free Certification Exam for All Training Attendees Through End of 2005 >Visit http://www.jboss.com/services/certification for more information >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |