On Sat, May 10, 2008 at 10:07 PM, victor wrote: > and there is no other libcsound.so in your system? Nope, I just searched, all new. I tried creating symbolic links of libcsound.so to libcsound.so.5.1 in all places it is found, too. Also tried deleting all these links. I sudo copied libcsound.so.5.1 from the build directory to /usr/local/lib and /usr/local/csh/lib, to make sure it's the new one, and then _csnd.so to /usr/lib/python2.4/site-packages/. _ZN17CsoundUtilityList5CountEv shows up in nm libcsnd.so.5.1, in the line: 0000000000044100 T _ZN17CsoundUtilityList5CountEv I tried both import csnd and from csnd import *. By the way, my new microtonal sequencer is coming along nicely, finally, and I'm finding Python/Tkinter to be perfect for the task. Thanks for recommending Python, it's delightful. -Chuckk > > CsoundUtilityList is in interfaces/cs_glue.cpp which ends > up in libcsnd.so > > You can check with > > nm libcsnd.dll.5.1 > symbols.txt > > and then check for __ZN17CsoundUtilityList5CountEv > > If it's not there, somehow cs_glue.cpp did not get compiled / > or linked to libcsnd. > > > Victor > > ----- Original Message ----- From: "Chuckk Hubbard" > > To: > Sent: Saturday, May 10, 2008 6:55 PM > Subject: [Csnd] Re: Re: Re: Re: Python API questions time > > > > > > > ok thanks. > > Making my way through the previous questions, uninstalled, > > re-untarred, and rebuilt Csound, no luck. > > old libcsnd.so.5.1 gone, replaced by recompiled version. > > > > On Sat, May 10, 2008 at 7:37 PM, victor wrote: > > > > > incompatible libcsnd.so.5.1 > > > ----- Original Message ----- From: "Chuckk Hubbard" > > > > > > To: > > > Sent: Saturday, May 10, 2008 5:20 PM > > > Subject: [Csnd] Re: Re: Python API questions time > > > > > > > > > > > > > import csnd > > > > ..... > > > > ImportError: ./_csnd.so: undefined symbol: > _ZN17CsoundUtilityList5CountEnv > > > > > > > > Any ideas? > > > > -Chuckk > > > > > > > > On Sat, May 10, 2008 at 5:12 PM, Chuckk Hubbard > > > > wrote: > > > > > > > > > > > > > > Ah, I see, looking through SConstruct; is that the 'buildInterfaces' > > > > > option? > > > > > > > > > > -Chuckk > > > > > > > > > > On Sat, May 10, 2008 at 3:53 PM, victor > wrote: > > > > > > > > > > > > > > > > > Looks like you have not built it. You'll need the python headers > and > > > > > > swig to build it. > > > > > > > > > > > > Victor > > > > > > ----- Original Message ----- From: "Chuckk Hubbard" > > > > > > > > > > > > To: "Csound List" > > > > > > Sent: Saturday, May 10, 2008 1:06 PM > > > > > > Subject: [Csnd] Python API questions time > > > > > > > > > > > > > > > > > > > > > > > > > Hello. > > > > > > > I've located csnd.py and relocated it appropriately, but now I > get an > > > > > > > Import Error: No module named _csnd. I've searched all over my > hard > > > > > > > drive, and I have no file with the string "_csnd" in the > filename. > > > > > > > I compiled Csound, and I have 5.08 Beta Mar 1 2008. I'm running > 64-bit > > > > > > > Linux. > > > > > > > Can anyone point me in the direction of this _csnd module? > > > > > > > > > > > > > > -Chuckk > > > > > > > > > > > > > > -- > > > > > > > http://www.badmuthahubbard.com > > > > > > > > > > > > > > > > > > > > > Send bugs reports to this list. > > > > > > > To unsubscribe, send email sympa@lists.bath.ac.uk with body > > > > > > > "unsubscribe > > > > > > > csound" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Send bugs reports to this list. > > > > > > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe > > > > > > csound" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > http://www.badmuthahubbard.com > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > http://www.badmuthahubbard.com > > > > > > > > > > > > Send bugs reports to this list. > > > > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe > > > > csound" > > > > > > > > > > > > > > > > Send bugs reports to this list. > > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > > > csound" > > > > > > > > > > > > > > -- > > http://www.badmuthahubbard.com > > > > > > Send bugs reports to this list. > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > > > > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > -- http://www.badmuthahubbard.com