Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: testing the example Python scripts

Date2008-05-17 15:19
FromMichael Gogins
Subject[Csnd] Re: Re: testing the example Python scripts
Ah, I forgot that there is also a libcsnd.so.5.1 (versioned name).

Thanks,
Mike

-----Original Message-----
>From: victor 
>Sent: May 17, 2008 8:12 AM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] Re: testing the example Python scripts
>
>libcsnd.so.5.1 needs to be found by the dynamic linker. Either
>add it to /usr/lib or /usr/local/lib or perhaps /usr/lib64 etc in 64 bit OSs
>or use LD_LIBRARY_PATH to point to where it is. Also try
>running ldconfig.
>
>Victor
>----- Original Message ----- 
>From: "Dave Phillips" 
>To: 
>Sent: Saturday, May 17, 2008 12:49 PM
>Subject: [Csnd] testing the example Python scripts
>
>
>> Greetings,
>>
>> I finally got around to testing the Python examples in 5.08. They didn't 
>> work.
>>
>> To recap, here's the scenario: I've built and installed 5.08 with 
>> double-precision, the interface wrappers, and the Python extensions. The 
>> file _csnd.so is built but not installed with install.py. The file 
>> libcsnd.so is built and found in OPCODEDIR64. The csnd.py file has been 
>> placed in the site packages directory at /usr/local/lib/python2.5. 
>> According to directions from this list I also placed _csnd.so in the site 
>> packages directory.
>>
>> I tested TrappedCsd.py and received this error:
>>
>> dlphilp@64studio:~/src/csound5.08/examples$ python TrappedCsd.py
>> Traceback (most recent call last):
>>  File "TrappedCsd.py", line 6, in 
>>    import csnd
>>  File "/usr/local/lib/python2.5/site-packages/csnd.py", line 7, in 
>> 
>>    import _csnd
>> ImportError: libcsnd.so.5.1: cannot open shared object file: No such file 
>> or directory
>>
>>
>> OPCODEDIR64 is set in my .bashrc file. I softlinked libcsnd.so 
>> libcsnd.so.5.1 but that didn't make a difference. Is _csnd.so hard-coded 
>> to look for libcsnd.so.5.1 elsewheres ? Perhaps I'm missing an environment 
>> variable ?
>>
>> At this point I think I've done everything I've been directed to do, but 
>> still get no joy with any Python/Csound scripts. Further suggestions are 
>> most welcome. :)
>>
>> Double-precision Csound is a no-go with AlgoScore. Is it perhaps a problem 
>> with Python too ?
>>
>> Best,
>>
>> dp
>>
>>
>>
>> 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"