Csound Csound-dev Csound-tekno Search About

[Cs-dev] build error: cannot find -lcsnd

Date2010-12-06 15:26
FromDave Phillips
Subject[Cs-dev] build error: cannot find -lcsnd
Greetings,

Building source tarball and CVS sources, same error :

scons useDouble=1 install=1 buildPythonOpcodes=1 buildInterfaces=1 
buildJavaWrapper=1 dynamicCsoundLibrary=1 useOSC=1 buildRelease=1

...

g++ -o lib_jcsound.so -Wl,-Bdynamic -Wl,-rpath-link,interfaces -shared 
interfaces/java_interface_wrap.os -L. -L. -L/usr/local/lib -L. -L. 
-L/usr/lib/fltk-1.1 -lcsnd -lstdc++ -lutil libcsound64.so.5.2 -lsndfile 
-lsndfile -lpthread -lpthread -lgomp -lm -lasound -llo -lsndfile -ldl 
-lm -lpthread
/usr/bin/ld: cannot find -lcsnd
collect2: ld returned 1 exit status
scons: *** [lib_jcsound.so] Error 1
scons: building terminated because of errors.

I ran into he same error last April, but I didn't find a thread on the 
mail-list that might give me a clue again. Any suggestions  ?

Can an outdated scons be a problem ?

Best,

dp


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-12-06 15:34
FromVictor Lazzarini
SubjectRe: [Cs-dev] build error: cannot find -lcsnd
Do you have libcsnd.so somewhere?

Victor
On 6 Dec 2010, at 15:26, Dave Phillips wrote:

> Greetings,
>
> Building source tarball and CVS sources, same error :
>
> scons useDouble=1 install=1 buildPythonOpcodes=1 buildInterfaces=1
> buildJavaWrapper=1 dynamicCsoundLibrary=1 useOSC=1 buildRelease=1
>
> ...
>
> g++ -o lib_jcsound.so -Wl,-Bdynamic -Wl,-rpath-link,interfaces -shared
> interfaces/java_interface_wrap.os -L. -L. -L/usr/local/lib -L. -L.
> -L/usr/lib/fltk-1.1 -lcsnd -lstdc++ -lutil libcsound64.so.5.2 - 
> lsndfile
> -lsndfile -lpthread -lpthread -lgomp -lm -lasound -llo -lsndfile -ldl
> -lm -lpthread
> /usr/bin/ld: cannot find -lcsnd
> collect2: ld returned 1 exit status
> scons: *** [lib_jcsound.so] Error 1
> scons: building terminated because of errors.
>
> I ran into he same error last April, but I didn't find a thread on the
> mail-list that might give me a clue again. Any suggestions  ?
>
> Can an outdated scons be a problem ?
>
> Best,
>
> dp
>
>
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another  
> costly
> upgrade, or settle for being marooned without product support? Time  
> to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier  
> to build,
> use, and manage than apps on traditional platforms. Sign up for the  
> Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-12-06 15:35
FromDave Phillips
SubjectRe: [Cs-dev] build error: cannot find -lcsnd
Victor Lazzarini wrote:
> Do you have libcsnd.so somewhere?
>
>   
 Hi Victor,

It's linked to a non-existent libcsnd.so.5.2, which looks like it 
doesn't get built at all. I know I'm missing something simple, I just 
can't think of what it is.

Best,

dp


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-12-06 15:43
FromVictor Lazzarini
SubjectRe: [Cs-dev] build error: cannot find -lcsnd
Normally libcsnd.so.5.2 gets built before any of the wrappers, as it  
is a dependency and scons would take care of that.
Maybe you can try deleting the link and rebuilding. Perhaps scons  
believes it's there.

Victor
On 6 Dec 2010, at 15:35, Dave Phillips wrote:

> Victor Lazzarini wrote:
>> Do you have libcsnd.so somewhere?
>>
>>
> Hi Victor,
>
> It's linked to a non-existent libcsnd.so.5.2, which looks like it
> doesn't get built at all. I know I'm missing something simple, I just
> can't think of what it is.
>
> Best,
>
> dp
>
>
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another  
> costly
> upgrade, or settle for being marooned without product support? Time  
> to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier  
> to build,
> use, and manage than apps on traditional platforms. Sign up for the  
> Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-12-06 21:57
FromDave Phillips
SubjectRe: [Cs-dev] build error: cannot find -lcsnd
Victor Lazzarini wrote:
> Normally libcsnd.so.5.2 gets built before any of the wrappers, as it  
> is a dependency and scons would take care of that.
> Maybe you can try deleting the link and rebuilding. Perhaps scons  
> believes it's there.
>
>   

Hi Victor,

I think I found the problem. Apparently libcsnd expects 
buildPythonWrapper if the buildInterfaces option is set, it won't build 
without it. Is that the expected behavior ?

Anyway, I'm all fixed up now. Thanks for the help. :)

Best,

dp


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net