Csound Csound-dev Csound-tekno Search About

No STK and python opcodes, can't open library...

Date2015-05-29 13:38
From"F. Silvain"
SubjectNo STK and python opcodes, can't open library...
Hey hey everyone,
this is the only problem, that remains in my new build. There are opening 
errors with libstk and libpy:
WARNING: could not open library '/usr/local/lib/csound/plugins-6.0/libstk.so' 
(/usr/local/lib/csound/plugins-6.0/libstk.so: undefined symbol: 
_ZN3stk6Socket10readBufferEiPvli)ESC[m
WARNING: ESC[mcould not open library 
'/usr/local/lib/csound/plugins-6.0/libpy.so' 
(/usr/local/lib/csound/plugins-6.0/libpy.so: undefined symbol: PyFile_AsFile)

I'm using Python2.6 and stk-4.4.2, which built without further python errors 
and no stk related errors at all.

Ta-ta
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-29 14:03
FromVictor Lazzarini
SubjectRe: No STK and python opcodes, can't open library...
They’re not errors, just warnings (unless you need to use the stk and python opcodes), so might
be able to ignore them.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 29 May 2015, at 13:38, F. Silvain  wrote:
> 
> Hey hey everyone,
> this is the only problem, that remains in my new build. There are opening 
> errors with libstk and libpy:
> WARNING: could not open library '/usr/local/lib/csound/plugins-6.0/libstk.so' 
> (/usr/local/lib/csound/plugins-6.0/libstk.so: undefined symbol: 
> _ZN3stk6Socket10readBufferEiPvli)ESC[m
> WARNING: ESC[mcould not open library 
> '/usr/local/lib/csound/plugins-6.0/libpy.so' 
> (/usr/local/lib/csound/plugins-6.0/libpy.so: undefined symbol: PyFile_AsFile)
> 
> I'm using Python2.6 and stk-4.4.2, which built without further python errors 
> and no stk related errors at all.
> 
> Ta-ta
> ----
> Ffanci
> * Homepage: https://freeshell.de/~silvain
> * Twitter:  http://twitter.com/ffanci_silvain
> * GitHub:   https://github.com/fsilvain
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-30 14:55
From"F. Silvain"
SubjectRe: No STK and python opcodes, can't open library...
Victor Lazzarini, May 29 2015:

> They?re not errors, just warnings (unless you need to use the stk and python opcodes), so might
> be able to ignore them.
But I'd rather use the STK opcodes at least. Any suggestions?
Thank you so far Victor for your valuable and always forthcoming help!

Ta-ta
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-30 15:04
FromVictor Lazzarini
SubjectRe: No STK and python opcodes, can't open library...
It might be the case that the stk library is not being found. Ideally it would go in one of the standard places and then you can try running ldconfig 

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 30 May 2015, at 14:55, F. Silvain  wrote:
> 
> Victor Lazzarini, May 29 2015:
> 
>> They?re not errors, just warnings (unless you need to use the stk and python opcodes), so might
>> be able to ignore them.
> But I'd rather use the STK opcodes at least. Any suggestions?
> Thank you so far Victor for your valuable and always forthcoming help!
> 
> Ta-ta
> ----
> Ffanci
> * Homepage: https://freeshell.de/~silvain
> * Twitter:  http://twitter.com/ffanci_silvain
> * GitHub:   https://github.com/fsilvain
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-30 15:53
From"F. Silvain"
SubjectRe: No STK and python opcodes, can't open library...
Victor Lazzarini, May 30 2015:

> It might be the case that the stk library is not being found. Ideally it would go in one of the standard places and then you can try running ldconfig
I've double checked. The csound libstk.so resides in the csound/plugins-6.0 directory and libstk.a - compiled separately from stk resides in /usr/local/lib. Stil I receive the same warning:
WARNING: could not open library '/usr/local/lib/csound/plugins-6.0/libstk.so' (/usr/local/lib/csound/plugins-6.0/libstk.so: undefined symbol: _ZN3stk6Socket10readBufferEiPvli)
...

Ta-ta
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-30 17:24
FromFabio De Sanctis De Benedictis
SubjectRe: No STK and python opcodes, can't open library...
Hi All,

I don't know if useful, I had same problem with stk opcodes, time ago. I
was using OMChroma library on OsX. To use stk opcodes it has been
necessary to download the source distribution of Synthesis Toolkit:
http://ccrma.stanford.edu/software/stk/release/stk-4.5.0.tar.gz
Inside the archive there should be a folder denominated "rawwaves". It
is necessary to create an environment variable that point to that
folder. In Linux I have added it to my .bash_profile file, in OsX there
is another procedure to set it (sorry, now I don't remember, but on the
web there are examples about it).

The environment variable is:
RAWWAVE_PATH=/path/to/rawwaves/folder

It can be also necessary to run Csound with these flags:
--env:RAWWAVE_PATH=.
For examples in OsX WinXound doesn't run with stk opcodes, even if
environment variable is correctly set, if you don't set these flags in
WinXound Compiler Preferences.
The history of problem and solution in OMChroma OpenMusic library is
here:
http://forumnet.ircam.fr/user-groups/omchroma/forum/topic/stk-user-defined-opcodes/

Sorry for long mail, I hope it is useful.

Regards


fdsdb

Il giorno sab, 30/05/2015 alle 15.55 +0200, F. Silvain ha scritto:
> Victor Lazzarini, May 29 2015:
> 
> > They?re not errors, just warnings (unless you need to use the stk and python opcodes), so might
> > be able to ignore them.
> But I'd rather use the STK opcodes at least. Any suggestions?
> Thank you so far Victor for your valuable and always forthcoming help!
> 
> Ta-ta
> ----
> Ffanci
> * Homepage: https://freeshell.de/~silvain
> * Twitter:  http://twitter.com/ffanci_silvain
> * GitHub:   https://github.com/fsilvain
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> 



------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-30 17:46
Fromjpff
SubjectRe: No STK and python opcodes, can't open library...
You are missding socket::readBuffer which is a method defined in 
Socket.cpp in my stk build.  I suspect you have a build expecting another 
library.
==John ff

On Sat, 30 May 2015, Fabio De Sanctis De Benedictis wrote:

> Hi All,
>
> I don't know if useful, I had same problem with stk opcodes, time ago. I
> was using OMChroma library on OsX. To use stk opcodes it has been
> necessary to download the source distribution of Synthesis Toolkit:
> http://ccrma.stanford.edu/software/stk/release/stk-4.5.0.tar.gz
> Inside the archive there should be a folder denominated "rawwaves". It
> is necessary to create an environment variable that point to that
> folder. In Linux I have added it to my .bash_profile file, in OsX there
> is another procedure to set it (sorry, now I don't remember, but on the
> web there are examples about it).
>
> The environment variable is:
> RAWWAVE_PATH=/path/to/rawwaves/folder
>
> It can be also necessary to run Csound with these flags:
> --env:RAWWAVE_PATH=.
> For examples in OsX WinXound doesn't run with stk opcodes, even if
> environment variable is correctly set, if you don't set these flags in
> WinXound Compiler Preferences.
> The history of problem and solution in OMChroma OpenMusic library is
> here:
> http://forumnet.ircam.fr/user-groups/omchroma/forum/topic/stk-user-defined-opcodes/
>
> Sorry for long mail, I hope it is useful.
>
> Regards
>
>
> fdsdb
>
> Il giorno sab, 30/05/2015 alle 15.55 +0200, F. Silvain ha scritto:
>> Victor Lazzarini, May 29 2015:
>>
>>> They?re not errors, just warnings (unless you need to use the stk and python opcodes), so might
>>> be able to ignore them.
>> But I'd rather use the STK opcodes at least. Any suggestions?
>> Thank you so far Victor for your valuable and always forthcoming help!
>>
>> Ta-ta
>> ----
>> Ffanci
>> * Homepage: https://freeshell.de/~silvain
>> * Twitter:  http://twitter.com/ffanci_silvain
>> * GitHub:   https://github.com/fsilvain
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-30 23:14
From"F. Silvain"
SubjectRe: No STK and python opcodes, can't open library...
Fabio De Sanctis De Benedictis, May 30 2015:

> Hi All,
>
> I don't know if useful, I had same problem with stk opcodes, time ago. I
> was using OMChroma library on OsX. To use stk opcodes it has been
> necessary to download the source distribution of Synthesis Toolkit:
> http://ccrma.stanford.edu/software/stk/release/stk-4.5.0.tar.gz
Thank you Fabio, now it works, my version of STK was really too old. I didn't know about version 4.5 .
...

Ta-ta
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-31 08:56
FromMenno Knevel
SubjectRe: No STK and python opcodes, can't open library...
i think in the manual there should be a place where we find information about
these third-party opcodes. Where to find them, how to install them on
different platforms and get them running.

Perhaps we can start here by making a list of the third-party opcodes.
I will start:
- STKopcodes
- cudasynth and friends
......

Anyone?



--
View this message in context: http://csound.1045644.n5.nabble.com/No-STK-and-python-opcodes-can-t-open-library-tp5741908p5741929.html
Sent from the Csound - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here