Csound Csound-dev Csound-tekno Search About

[Csnd] _csnd.so unknown file type

Date2008-07-15 19:57
FromDominic Thibault
Subject[Csnd] _csnd.so unknown file type
Hi folks,

I just finished building Csound5.08 from the source.  Everything  
seemed to
work flawlessly (no error while compiling) but when I tried loading the
Python API I realized it didn't work. If I load python and do 'import  
csnd',
I get the following :

Traceback (most recent call last):
   File "", line 1, in 
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/csnd.py", line 7, in 
     import _csnd
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/ 
lib/python2.5/_csnd.so, 2): no suitable image found.  Did find:
         /Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/_csnd.so: unknown file type, first eight bytes: 0x21 0x3C  
0x61 0x72 0x63 0x
68 0x3E 0x0A


My guess is that lib_csnd.a is not correctly compiled but I don't know  
what
I do wrong. I compiled using the same sources on a different computer  
(a Mac
Pro) and it worked there.

Any thoughts?

Here's my setup:
Macbook Pro
OSX 10.5.4
Python 2.5.2
Csound 5.08 (July 15 2008)


Thank you very much!



Dominic Thibault