On Nov 9, 2009, at 2:13 PM, András Murányi wrote:



2009/11/9 IOhannes m zmoelnig <zmoelnig@iem.at>
András Murányi wrote:
>>
> Apparently, pd-gui-rewrite still doesn't load the libs, no ELF32 messages
> any more but all "couldn't load" plus a few "unknown sybol" errors.

which "unknown symbols"?
obviously the dynamic linker will fail to load a library, if it cannot
resolve all symbols.

do all externals have the problem, or just a few?


mmm, seems to me that none of them load.

THat's an odd one.  My guess is that perhaps the pd you are using and the externals that you are loading are different bitnesses, i.e. 32-bit and 64-bit.  Use the 'file' command to see:

hans@blinky:~ > file /usr/bin/pd
/usr/bin/pd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped

.hc



this is the relevant part of my .pdsettings:

loadlib1: libdir
loadlib2: Gem
loadlib3: cyclone
loadlib4: zexy
loadlib5: cxc
loadlib6: iemlib
loadlib7: list-abs
loadlib8: mapping
loadlib9: pidip
loadlib10: creb
loadlib11: markex
loadlib12: memento
loadlib13: mjlib
loadlib14: motex
loadlib15: oscx
loadlib16: pddp
loadlib17: maxlib
loadlib18: pdogg
loadlib19: pixeltango
loadlib20: pmpd
loadlib21: rradical
loadlib22: sigpack
loadlib23: smlib
loadlib24: toxy
loadlib25: unauthorized
loadlib26: vbap
loadlib27: pan
loadlib28: freeverb
loadlib29: hcs
loadlib30: jmmmp
loadlib31: ext13
loadlib32: ggee
loadlib33: iem_anything
loadlib34: flib
loadlib35: ekext
loadlib36: flatspace
loadlib37: pdp
nloadlib: 37

this is from the Console:

/usr/lib/pd/extra/libdir.pd_linux: /usr/lib/pd/extra/libdir.pd_linux: undefined symbol: sys_helppath
libdir: can't load library
/usr/lib/pd/extra/Gem/Gem.pd_linux: /usr/lib/pd/extra/Gem/Gem.pd_linux: undefined symbol: s_symbol
Gem: can't load library
cyclone: can't load library
zexy: can't load library
cxc: can't load library
iemlib: can't load library
list-abs: can't load library
mapping: can't load library
/usr/lib/pd/extra/pidip/pidip.pd_linux: /usr/lib/pd/extra/pidip/pidip.pd_linux: undefined symbol: s_float
pidip: can't load library
creb: can't load library
markex: can't load library
memento: can't load library
mjlib: can't load library
motex: can't load library
oscx: can't load library
pddp: can't load library
maxlib: can't load library
pdogg: can't load library
pixeltango: can't load library
/usr/lib/pd/extra/flatspace/pmpd.pd_linux: /usr/lib/pd/extra/flatspace/pmpd.pd_linux: undefined symbol: class_new
pmpd: can't load library
rradical: can't load library
sigpack: can't load library
smlib: can't load library
toxy: can't load library
unauthorized: can't load library
/usr/lib/pd/extra/ggee/vbap.pd_linux: /usr/lib/pd/extra/ggee/vbap.pd_linux: undefined symbol: s_
vbap: can't load library
pan: can't load library
freeverb: can't load library
hcs: can't load library
jmmmp: can't load library
ext13: can't load library
ggee: can't load library
/usr/lib/pd/extra/iemlib/iem_anything.pd_linux: /usr/lib/pd/extra/iemlib/iem_anything.pd_linux: undefined symbol: s_bang
iem_anything: can't load library
flib: can't load library
ekext: can't load library
flatspace: can't load library
/usr/lib/pd/extra/pdp/pdp.pd_linux: /usr/lib/pd/extra/pdp/pdp.pd_linux: undefined symbol: s_float
pdp: can't load library

I could send verbose mode Console output too, but it's very long.

Andras
_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev



----------------------------------------------------------------------------

Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.  It's about as sensible to say we declare war on night attacks and expect we're going to win that war.  We're not going to win the war on terrorism.        - retired U.S. Army general, William Odom