[Csnd] Python Csound binding error on Ubuntu 9.10 64b
Date | 2010-01-29 08:14 |
From | Akira Bergman |
Subject | [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. |
Date | 2010-01-29 08:28 |
From | Christopher Micallef |
Subject | [Csnd] Re: Python Csound binding error on Ubuntu 9.10 64b |
Hi Akira, I had the exact same errors on ubuntu 9.10 too. I tried 32 bit and 64 bit editions. No luck. I got around this by using the win32 version of csound and running it through wine. You'll need to install the win32 of python too! :) But this really isn't a fix. It's just a work around solution :) Cheers Chris
|
Date | 2010-01-29 08:36 |
From | Akira Bergman |
Subject | [Csnd] Re: Re: Python Csound binding error on Ubuntu 9.10 64b |
Hi Chris, On Fri, Jan 29, 2010 at 7:28 PM, Christopher Micallef <chris@micallef.net.au> wrote:
|
Date | 2010-01-29 08:58 |
From | Victor.Lazzarini@nuim.ie |
Subject | [Csnd] Re: Re: Python Csound binding error on Ubuntu 9.10 64b |
Attachments | None None |
Date | 2010-02-01 02:19 | |
From | Akira Bergman | |
Subject | [Csnd] Re: Re: Re: Python Csound binding error on Ubuntu 9.10 64b | |
No reply from Felipe. Does this mean we will have to compile Csound for ourselves to get the Python binding in Ubuntu Linux work? On Fri, Jan 29, 2010 at 7:58 PM, <Victor.Lazzarini@nuim.ie> wrote:
|
Date | 2010-02-01 09:16 |
From | menno |
Subject | [Csnd] Re: Re: Re: Python Csound binding error on Ubuntu 9.10 64b |
Hi, i asked Felipe a few weeks ago about creating a Ubuntu package of Csound 5.11. Csound 5.12 was not published yet. He told me that Ubuntu 5.11 was already in Debian, so it should not be too difficult for someone to transform it into an Ubuntu package. I should track that person that can make this package on the MOTU-list, but did not find someone that was interested in doing so i'm afraid. greetings, Menno |
Date | 2010-02-01 09:41 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Python Csound binding error on Ubuntu 9.10 64b |
Hi, It's also likely that if you bet the .deb file from Debian, it will install properly on Ubuntu. Cheers, Andrés On Mon, Feb 1, 2010 at 9:16 AM, menno |
Date | 2010-02-01 10:13 |
From | Erik de Castro Lopo |
Subject | [Csnd] Re: Python Csound binding error on Ubuntu 9.10 64b |
Andres Cabrera wrote: > Hi, > > It's also likely that if you bet the .deb file from Debian, it will > install properly on Ubuntu. Actually, in general thats not true. However, if you grab the debian source files: csound_W.X.Y-Z.dsc csound_W.X.Y.orig.tar.gz csound_W.X.Y-Z.diff.gz then you should be able to do: apt-get build-deps csound dpkg-source -x csound_W.X.Y-Z.dsc cd csound-W.X.Y dpkg-buildpackage -us -us -rfakeroot and build the debs on your system. Erik |
Date | 2010-02-01 10:41 |
From | becks |
Subject | [Csnd] Re: Python Csound binding error on Ubuntu 9.10 64b |
On Fri, Jan 29, 2010 at 9:14 AM, Akira Bergman |
Date | 2010-02-01 20:45 |
From | Akira Bergman |
Subject | [Csnd] Re: Re: Python Csound binding error on Ubuntu 9.10 64b |
Thanks Eric, I will try that. On Mon, Feb 1, 2010 at 9:13 PM, Erik de Castro Lopo <mle+la@mega-nerd.com> wrote:
|
Date | 2010-02-13 23:02 |
From | Chuckk Hubbard |
Subject | [Csnd] Re: Re: Re: Python Csound binding error on Ubuntu 9.10 64b |
Hi all. I've been helping someone trying to use Rationale, and come to this conclusion. He's on Ubuntu 9.10, and gets the csoundSetKillXYinCallback undefined symbol error. We tried what Felipe suggested to me before, LD_LIBRARY_PATH, set to the location of libcsound64 (and added to .bashrc), but it made no difference. I could get him to try a .deb package, but compiling is almost certainly outside his range of options. Has anyone heard of any progress on this? Thanks a lot. -Chuckk On Mon, Feb 1, 2010 at 10:45 PM, Akira Bergman |
Date | 2010-02-14 01:50 |
From | Akira Bergman |
Subject | [Csnd] Re: Re: Re: Re: Python Csound binding error on Ubuntu 9.10 64b |
I attempted what Eric suggested but I could not find one of the files at debian site (I think it was .diff file). I tried to use the .deb file but ran into a 'public key' key problem. I asked Ubuntu Forum and got nowhere. I have not got much experience in Linux, nor in Csound, so drifted into doing other things. On Sun, Feb 14, 2010 at 10:02 AM, Chuckk Hubbard <badmuthahubbard@gmail.com> wrote: Hi all. I've been helping someone trying to use Rationale, and come to |
Date | 2010-02-14 07:15 |
From | Chuckk Hubbard |
Subject | [Csnd] Re: Re: Re: Re: Re: Python Csound binding error on Ubuntu 9.10 64b |
All right, sorry to hear that. If I find some solution I'll certainly post here, although I don't have high hopes for that. -Chuckk On Sun, Feb 14, 2010 at 3:50 AM, Akira Bergman |