Csound Csound-dev Csound-tekno Search About

Csound 6.08 and ctcsound

Date2016-12-03 06:24
FromMitch Kaufman
SubjectCsound 6.08 and ctcsound

Hi,


I built Csound 6.08 and am making some tests.  When I try to "import ctcsound" from the first ctcsound cookbook, I get the following error:



OSError                                   Traceback (most recent call last)
<ipython-input-1-b46b98f49e5f> in <module>()
----> 1 import ctcsound

/home/mitch/anaconda3/lib/python3.5/site-packages/ctcsound.py in <module>()
   2407 
   2408 if sys.platform.startswith('linux'):
-> 2409     libcspt = CDLL("libcsnd6.so")
   2410 elif sys.platform.startswith('win'):
   2411     libcspt = cdll.csnd6

/home/mitch/anaconda3/lib/python3.5/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
    345 
    346         if handle is None:
--> 347             self._handle = _dlopen(self._name, mode)
    348         else:
    349             self._handle = handle

OSError: /home/mitch/anaconda3/lib/python3.5/site-packages/zmq/backend/cython/../../../../.././libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/lib/libcsnd6.so)

Any help would be appreciated.


Regards,

Mitch


Date2016-12-03 07:11
FromVictor Lazzarini
SubjectRe: Csound 6.08 and ctcsound
Looks like you don't have glibcxx 3.4.21 in your system.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 3 Dec 2016, at 06:25, Mitch Kaufman <mitch.kaufman@HOTMAIL.COM> wrote:

Hi,


I built Csound 6.08 and am making some tests.  When I try to "import ctcsound" from the first ctcsound cookbook, I get the following error:



OSError                                   Traceback (most recent call last)
<ipython-input-1-b46b98f49e5f> in <module>()
----> 1 import ctcsound

/home/mitch/anaconda3/lib/python3.5/site-packages/ctcsound.py in <module>()
   2407 
   2408 if sys.platform.startswith('linux'):
-> 2409     libcspt = CDLL("libcsnd6.so")
   2410 elif sys.platform.startswith('win'):
   2411     libcspt = cdll.csnd6

/home/mitch/anaconda3/lib/python3.5/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
    345 
    346         if handle is None:
--> 347             self._handle = _dlopen(self._name, mode)
    348         else:
    349             self._handle = handle

OSError: /home/mitch/anaconda3/lib/python3.5/site-packages/zmq/backend/cython/../../../../.././libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/lib/libcsnd6.so)

Any help would be appreciated.


Regards,

Mitch

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-03 14:04
Frommitchk
SubjectRe: Csound 6.08 and ctcsound

Victor,


Thank you for this.  It was actually a mismatch of versions.  It wasn't a clean solution but the version of libstdc++.so.6 that was running in anaconda/ipython was not the version that was needed to run csound.  I corrected this by deleting the link and creating a another one to the libstdc++.so that was in /usr/lib.


ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6  /home/mitch/anaconda3/lib/libstdc++.so.6


Regards,

Mitch


From: Victor Lazzarini [via Csound] <ml-node+[hidden email]>
Sent: Saturday, December 3, 2016 2:12:17 AM
To: mitchk
Subject: Re: [Csnd] Csound 6.08 and ctcsound
 
Looks like you don't have glibcxx 3.4.21 in your system.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 3 Dec 2016, at 06:25, Mitch Kaufman <[hidden email]> wrote:

Hi,


I built Csound 6.08 and am making some tests.  When I try to "import ctcsound" from the first ctcsound cookbook, I get the following error:



OSError                                   Traceback (most recent call last)
<ipython-input-1-b46b98f49e5f> in <module>()
----> 1 import ctcsound

/home/mitch/anaconda3/lib/python3.5/site-packages/ctcsound.py in <module>()
   2407 
   2408 if sys.platform.startswith('linux'):
-> 2409     libcspt = CDLL("libcsnd6.so")
   2410 elif sys.platform.startswith('win'):
   2411     libcspt = cdll.csnd6

/home/mitch/anaconda3/lib/python3.5/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
    345 
    346         if handle is None:
--> 347             self._handle = _dlopen(self._name, mode)
    348         else:
    349             self._handle = handle

OSError: /home/mitch/anaconda3/lib/python3.5/site-packages/zmq/backend/cython/../../../../.././libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/lib/libcsnd6.so)

Any help would be appreciated.


Regards,

Mitch

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


If you reply to this email, your message will be added to the discussion below:
http://csound.1045644.n5.nabble.com/Csnd-Csound-6-08-and-ctcsound-tp5753003p5753004.html
To start a new topic under Csound - General, email ml-node+[hidden email]
To unsubscribe from Csound, click here.
NAML


View this message in context: Re: [Csnd] Csound 6.08 and ctcsound
Sent from the Csound - General mailing list archive at Nabble.com.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here