Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] SConstruct changes for tclcsound

Date2005-12-14 14:16
FromMichael Gogins
SubjectRe: [Cs-dev] SConstruct changes for tclcsound
Thanks for the information, we will try with a SharedObject target -- though I'm not sure that will work on Windows. Of course, it is always possible to get SCons to recognize a nonstandard library name.

Regards,
Mike

-----Original Message-----
From: Istvan Varga 
Sent: Dec 14, 2005 4:57 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] SConstruct changes for tclcsound

On Wednesday 14 December 2005 04:28, Michael Gogins wrote:

> My aplogies if I broke anything, but if I did it should be easy to fix.
> 
> I had to change SConstruct in order to build both the Python libraries and 
> the tclcsound stuff on Windows with MinGW.
> 
> The changes amount to first building the tclcsound shared library, then 
> creating a new Environment for Tclcsound programs which links with the 
> tclcsound library, and then using the new Environment to build the Tclcsound 
> programs.
> 
> This is necessary because SCons objects to building the same object 
> (commands.o) more than once with different flags.
> 
> I have updated the NSIS Windows installer to include the Tclcsound library 
> and applications, as well.
> 
> I'm fairly confident this will work on Linux, but I'm not so sure about OS 
> X, and have no way to test it. If I have broken the OS X build, then we will 
> need to conditionally build the new way on Windows and the old way on OS X.

I think it could have been enough to just build commands.c as a SharedObject,
and adding that to the sources of all three targets. Linking to tclcsound.so
does not work on Linux because it uses a non-standard name (i.e. no 'lib'
prefix), and it also requires installing the library to a directory where it
is found by the dynamic linker at run-time.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-06-18 15:19
FromOlivier Bélanger
Subject[Cs-dev] linux installation error
Hi everyone,

I installed Csound5.02.1 on a linux computer with Scons. The  
installation was succesful but when i tried to lauch the application  
i got this message:

"
csound: error while loading shared libraries: libsndfile.so.1: cannot  
open shared object file: No such file or directory
"

I set OPCODEDIR=/usr/local/lib/csound/plugins

That didn't change anything.

Any Ideas?

Thanks

Olivier



_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-06-18 16:13
Fromjpff
SubjectRe: [Cs-dev] linux installation error
First and obvious question; do you have a copy of libsndfile.so?
Second obvious question; if you do, is it in your load path?
==John ff




_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-06-18 18:43
FromSimon Schampijer
SubjectRe: [Cs-dev] linux installation error
Hi Olivier,
Seems like you need to add the path for /usr/local/lib to the dynamic 
linker.
Add to /etc/ld.so.conf the following line (must be root):
/usr/local/lib/
Than run as root (configure dynamic linker run time bindings):
ldconfig

Simon


Olivier Bélanger wrote:
> Hi everyone,
>
> I installed Csound5.02.1 on a linux computer with Scons. The  
> installation was succesful but when i tried to lauch the application  
> i got this message:
>
> "
> csound: error while loading shared libraries: libsndfile.so.1: cannot  
> open shared object file: No such file or directory
> "
>
> I set OPCODEDIR=/usr/local/lib/csound/plugins
>
> That didn't change anything.
>
> Any Ideas?
>
> Thanks
>
> Olivier
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   



_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-06-19 16:49
FromOlivier Bélanger
SubjectRe: [Cs-dev] linux installation error
Thanks,

Everything is working!

Olivier

Le 06-06-18 à 13:43, Simon Schampijer a écrit :

> Hi Olivier,
> Seems like you need to add the path for /usr/local/lib to the dynamic
> linker.
> Add to /etc/ld.so.conf the following line (must be root):
> /usr/local/lib/
> Than run as root (configure dynamic linker run time bindings):
> ldconfig
>
> Simon
>
>
> Olivier Bélanger wrote:
>> Hi everyone,
>>
>> I installed Csound5.02.1 on a linux computer with Scons. The
>> installation was succesful but when i tried to lauch the application
>> i got this message:
>>
>> "
>> csound: error while loading shared libraries: libsndfile.so.1: cannot
>> open shared object file: No such file or directory
>> "
>>
>> I set OPCODEDIR=/usr/local/lib/csound/plugins
>>
>> That didn't change anything.
>>
>> Any Ideas?
>>
>> Thanks
>>
>> Olivier
>>
>>
>>
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net