Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Python Csound binding error on Ubuntu 9.10 64b

Date2010-01-29 08:24
From"vallste@libero.it"
Subject[Csnd] Re: Python Csound binding error on Ubuntu 9.10 64b

Same problem here on a 32b machine.

Csound is 5.10 from ubuntu repositories. Should we compile from sources?

Ciao

----Messaggio originale----
Da: akirabergman@gmail.com
Data: 29/01/2010 9.14
A: <csound@lists.bath.ac.uk>
Ogg: [Csnd] Python Csound binding error on Ubuntu 9.10 64b

Hello,

I get the following on ipython interface;

***************************************************************************************************

In [1]: import csnd
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/nuri/<ipython console> in <module>()

/usr/lib/python2.6/dist-packages/csnd.py in <module>()
      5 # This file is compatible with both classic and new-style classes.

      6 
----> 7 import _csnd
      8 import new
      9 new_instancemethod = new.instancemethod

ImportError: /usr/lib/libcsnd.so.5.2: undefined symbol: csoundSetKillXYinCallback

In [2]: 

******************************************************************************************************

In [2]: import CsoundAC
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/nuri/<ipython console> in <module>()

/usr/lib/python2.6/dist-packages/CsoundAC.py in <module>()
      5 # This file is compatible with both classic and new-style classes.

      6 
----> 7 import _CsoundAC
      8 import new
      9 new_instancemethod = new.instancemethod

ImportError: /usr/lib/libcsnd.so.5.2: undefined symbol: csoundSetKillXYinCallback

In [3]: 

***************************************************************************************************

In other words I can not use Csound and CsoundAC from python. I reported this at Ubuntu Forums with no replies;


But I can use Python from Csound, through PYINIT+PYRUN...

Could you suggest a way of getting this working please? 
Would this work on 32b 9.10 or earlier Ubuntu versions? 

I have upgraded my PC to i5 recently and the earlier Ubuntu versions do not work on it. I can go back to my old Pentium machine to run Csound but I don't really want to do that.

Best regards.