i installed readanysf~0.13.1, but when i try to create a readanysf~ object, gives this error: http://aug.ment.org/software/readanysf%7E0.13.1.tar.gz
/usr/lib/pd/extra/readanysf~.pd_linux: /usr/lib/pd/extra/readanysf~.pd_linux: undefined symbol: _ZN16flext_dsp_sharedC2Ev
someone could help me? I use pd-0.38-4 because 0.39-0 has some midi problems. do I need upgrade? :o and flext 0.5.0
i installed readanysf~0.13.1, but when i try to create a readanysf~ object, gives this error: http://aug.ment.org/software/readanysf%7E0.13.1.tar.gz
/usr/lib/pd/extra/readanysf~.pd_linux: /usr/lib/pd/extra/readanysf~.pd_linux: undefined symbol: _ZN16flext_dsp_sharedC2Ev
someone could help me? I use pd-0.38-4 because 0.39-0 has some midi problems. do I need upgrade? :o and flext 0.5.0
federico,
this usually means that readanysf is not able to find one of the libraries it needs.
did you compile it with support for mp3 and ogg? if so, do you have libmad.so and libogg.so in /usr/lib or /usr/local/lib?
do you have a line with "/usr/local/lib" in your /etc/ld.so.conf? did you run 'ldconfig' as root after installing flext?
can you run other flext externals? where is your flext library located? it should be in /usr/local/lib
-august.
Hi Thomas and August,
Pyext and readanysf~ compiled fine on osx with flext 0.5.1.
Readanysf~ compilation needs a bit of tuning though, in the Makefiles:
by the way (this is not that important here), i can't compile pyext with pynumarray: */System/Library/Frameworks/Python.framework/Headers/numarray/nummacro.h:27: error: parse error before `;' token make[1]: *** [pd-darwin/release-multi/pybuffer.opp] Error 1 make: *** [build-release-multi] Error 2
it looks like it comes from this line
**typedef struct
{
PyObject_HEAD
PyObject *operator; /* ufunc name */ *
It is possible to launch pd39.2 with readanysf or pyext separetely but when i try to load both, i get; *------------------------------------------------ py/pyext 0.2.1pre - python script objects (C)2002-2005 Thomas Grill - http://grrrr.org/ext
using Python 2.4.1 (#2, Mar 31 2005, 00:05:10) [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)]
link error 0 dyld: /Applications/pd39.app/Contents/Resources/bin/pd multiple definitions of symbol _initialized /data/pdlibs/py.pd_darwin definition of _initialized /usr/local/lib/libflext-pd.dylib(flthr.opp) definition of _initialized
readanysf~: can't load library*
any idea? by advance thanks, vincent
Hi Vincent,
Pyext and readanysf~ compiled fine on osx with flext 0.5.1.
Readanysf~ compilation needs a bit of tuning though, in the Makefiles:
- FLEXT_NOGLOBALNEW should be replaced by FLEXT_USE_CMEM
- and -lflext should be replaced by -lflext-pd
in case one is using the flext cvs version, right!
by the way (this is not that important here), i can't compile pyext
with pynumarray: /System/Library/Frameworks/Python.framework/Headers/numarray/ nummacro.h:27: error: parse error before `;' token make[1]: *** [pd-darwin/release-multi/pybuffer.opp] Error 1 make: *** [build-release-multi] Error 2it looks like it comes from this line
typedef struct
{
PyObject_HEAD PyObject *operator; /* ufunc name */
well, i'll have to look at that... which numarray version are you using?
It is possible to launch pd39.2 with readanysf or pyext separetely
but when i try to load both, i get;
py/pyext 0.2.1pre - python script objects (C)2002-2005 Thomas Grill - http://grrrr.org/ext
using Python 2.4.1 (#2, Mar 31 2005, 00:05:10) [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)]
link error 0 dyld: /Applications/pd39.app/Contents/Resources/bin/pd
multiple definitions of symbol _initialized /data/pdlibs/py.pd_darwin definition of _initialized /usr/local/lib/libflext-pd.dylib(flthr.opp) definition of _initializedreadanysf~: can't load library
that's a known problem....
http://sourceforge.net/tracker/index.php?
func=detail&aid=1378927&group_id=55736&atid=478072
There are two workarounds:
and recompile pd
gcc build-release-shared)
greetings, Thomas
Hi Vincent,
it looks like it comes from this line
typedef struct
{
PyObject_HEAD PyObject *operator; /* ufunc name */
it's fairly clear.... operator is a C++ keyword.
This can be considered as a numarray bug and seems to have been removed
in version 1.5.0 i just tried.
well, i'll have to look at that... which numarray version are you
using?It is possible to launch pd39.2 with readanysf or pyext separetely
but when i try to load both, i get;
py/pyext 0.2.1pre - python script objects (C)2002-2005 Thomas Grill - http://grrrr.org/ext
using Python 2.4.1 (#2, Mar 31 2005, 00:05:10) [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)]
link error 0 dyld: /Applications/pd39.app/Contents/Resources/bin/pd
multiple definitions of symbol _initialized /data/pdlibs/py.pd_darwin definition of _initialized /usr/local/lib/libflext-pd.dylib(flthr.opp) definition of
_initializedreadanysf~: can't load library
that's a known problem....
http://sourceforge.net/tracker/index.php? func=detail&aid=1378927&group_id=55736&atid=478072There are two workarounds:
- change the options to NSLinkModule in s_loader.c as described above
and recompile pd
- build all flext externals using the flext shared library (build.sh
pd gcc build-release-shared)
hmmm, the latter doesn't seem to work... i hope i can find a workaround
to get it going. Waiting for pd to change can be really tiresome.
all the best, Thomas
hello Thomas, hello August,
many thanks for your answers, it solved the pb!
yes Thomas, i was using numarray 1.4, and flext from cvs. i followed your indications and everything is working fine now. pd39.2 (with modifs in s_loader.c), flext cvs, pyext cvs / numarray 1.5, readanysf~ 0.13.1 (with little modifs on makefiles).
Just one detail, now that i recompiled pd, i can't use the command line arguments anymore, may be i missed a compilation flag? Anyway, pd preferences (startup and path) are working but i find it a bit cumbersome.
greetings, vincent
Thomas Grill wrote:
Hi Vincent,
it looks like it comes from this line
typedef struct
{PyObject_HEAD
PyObject *operator; /* ufunc name */
it's fairly clear.... operator is a C++ keyword. This can be considered as a numarray bug and seems to have been removed in version 1.5.0 i just tried.
well, i'll have to look at that... which numarray version are you
using?It is possible to launch pd39.2 with readanysf or pyext separetely
but when i try to load both, i get;
py/pyext 0.2.1pre - python script objects (C)2002-2005 Thomas Grill - http://grrrr.org/ext
using Python 2.4.1 (#2, Mar 31 2005, 00:05:10) [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)]
link error 0 dyld: /Applications/pd39.app/Contents/Resources/bin/pd multiple definitions of symbol _initialized /data/pdlibs/py.pd_darwin definition of _initialized /usr/local/lib/libflext-pd.dylib(flthr.opp) definition of
_initializedreadanysf~: can't load library
that's a known problem.... http://sourceforge.net/tracker/index.php? func=detail&aid=1378927&group_id=55736&atid=478072
There are two workarounds:
- change the options to NSLinkModule in s_loader.c as described
above and recompile pd
- build all flext externals using the flext shared library (build.sh
pd gcc build-release-shared)
hmmm, the latter doesn't seem to work... i hope i can find a workaround to get it going. Waiting for pd to change can be really tiresome.
all the best, Thomas
Hi Vincent,
Just one detail, now that i recompiled pd, i can't use the command line arguments anymore, may be i missed a compilation flag? Anyway, pd preferences (startup and path) are working but i find it a bit cumbersome.
no idea... can't really have to do with the compilation or the introduced changes....
greetings, Thomas
Hey all,
It is possible to launch pd39.2 with readanysf or pyext separetely but when i try to load both, i get;
py/pyext 0.2.1pre - python script objects (C)2002-2005 Thomas Grill - http://grrrr.org/ext
using Python 2.4.1 (#2, Mar 31 2005, 00:05:10) [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)]
link error 0 dyld: /Applications/pd39.app/Contents/Resources/bin/pd multiple definitions of symbol _initialized /data/pdlibs/py.pd_darwin definition of _initialized /usr/local/lib/libflext-pd.dylib(flthr.opp) definition of _initialized
readanysf~: can't load library
still chewing around on the tracker item http://sourceforge.net/tracker/index.php? func=detail&aid=1378927&group_id=55736&atid=478072
i think i found a workaround in flext now by changing some details in the build system (not using -flat_namespace). It's in cvs already (but maybe not reachable before tomorrow...).
best greetings, Thomas