Csound Csound-dev Csound-tekno Search About

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

Date2008-05-17 13:17
Fromvictor
Subject[Csnd] Re: Re: testing the example Python scripts
By the way, libcsnd.so.5.1 is not a plugin and so it should not go in
the OPCODEDIR64. It is a shared library just like libcsound.so.5.1
and should go in the same place as that one.

_csnd.so is linked to libcsnd.so.5.1 and libcsound.so.5.1 (try
ldd _csnd.so).

It's close now, just a matter of letting the system know where the
so is.

Victor

>> 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 ?
>>


Date2008-05-17 13:35
FromDave Phillips
Subject[Csnd] Re: Re: Re: testing the example Python scripts
victor wrote:
> By the way, libcsnd.so.5.1 is not a plugin and so it should not go in
> the OPCODEDIR64. It is a shared library just like libcsound.so.5.1
> and should go in the same place as that one.
>
> _csnd.so is linked to libcsnd.so.5.1 and libcsound.so.5.1 (try
> ldd _csnd.so).
>
> It's close now, just a matter of letting the system know where the
> so is.
Okay, got it. I copied libcsnd.so.5.1 to /usr/lib where 
libcsound64.so.5.1 is linked to /usr/local/lib/libcsound64.so.5.1. That 
did the trick. I rendered TrappedCsd.py to a 32-bit float WAV, converted 
it to signed 16-bit WAV, and it plays perfectly through my players.

Thanks for your help, Victor, it is greatly appreciated.

Now on to test Oeyvind's stuff...

Best,

dp