Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] libcsnd.so needs tcl?

Date2007-09-02 10:19
FromVictor Lazzarini
SubjectRe: [Cs-dev] libcsnd.so needs tcl?
yes, I remember someone mentioning this error in
the list. This puzzled me a bit, because as far as
I know it did not need tcl; There is however one
opcode ('control') in Csound which uses tcl, but
I thought that was a plugin.

Victor
>
>
>
> Apparently there is a missing link from libcsnd.so to the
> tcl libraries. After  installation, trying to "import
> csnd" from python fails with the following  error (under
> python2.4):
>
> Traceback (most recent call last):
>   File "", line 1, in ?
>   File "/usr/lib/python2.4/site-packages/csnd.py", line 7,
> in ?
>     import _csnd
> ImportError: /usr/lib/libcsnd.so: undefined symbol:
> Tcl_GetStringFromObj
>
> Modifying SConstruct to link the csound interfaces against
> tcl seems to do the  trick.
>
> Anybody else experiencing this?
>
> In case it is useful, I'm building with these flags:
>
> BUILDFLAGS=useDouble=1 usePortAudio=1 usePortMIDI=1
> useALSA=1 \
>            useJack=1 useFLTK=1 buildCsound5GUI=1
> buildWinsound=1 \
>            generatePdf=0 useOSC=1 buildPythonOpcodes=1 \
>            dynamicCsoundLibrary=1 buildPDClass=1 \
>            buildDSSI=1 buildUtilities=1 buildTclcsound=1 \
>            buildVirtual=1 buildInterfaces=1
> buildJavaWrapper=1 \
>            buildCSEditor=1 buildNewParser=0 prefix=/usr
>
> --
>
>     Felipe Sateler
>
>
>
> ----------------------------------------------------------
> --------------- This SF.net email is sponsored by: Splunk
> Inc. Still grepping through log files to find problems?
> Stop. Now Search log events and configuration files using
> AJAX and a browser. Download your FREE copy of Splunk now
> >>  http://get.splunk.com/
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> [Attachment: fsateler@gmail.com.sig]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-09-03 18:06
Fromjpff
SubjectRe: [Cs-dev] libcsnd.so needs tcl?
It may be the time to retire control. It was removed once and i
objected as my teaching material relied on it.  It does not any more.

OTOH the mechanism of "control" is still my preferred model, without
TCL dependency.

==John ffitch

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net