From: Andrea S. <si...@op...> - 2008-04-18 12:55:39
|
Mats Bengtsson wrote: > Andrea, > > Perhaps you have any tips for building my tcl package on linux. > I have made a memo of my procedures in > contrib/tcl/build-iaxclient.txt > but when I try to load it into tcl it complains about missing speex symbol > speex_preprocess_ctl some here :( sickpig@suino:~/src/iaxclient-svn-tree/trunk/contrib/tcl$ tclsh % package require iaxclient couldn't load file "/usr/lib/tcliaxclient0.2/libtcliaxclient0.2.so": /usr/lib/tcliaxclient0.2/libtcliaxclient0.2.so: undefined symbol: speex_preprocess_ctl % exit I've follow the instructions that I've found in build-iaxclient.txt (also setting LDFLAGS env var to "-Wl,-static") that's the size sickpig@suino:~/src/iaxclient-svn-tree/trunk/contrib/tcl$ ls -lh libtcliaxclient0.2.so -rwxr-xr-x 1 sickpig sickpig 320K 2008-04-18 14:34 libtcliaxclient0.2.so that's lib dep sickpig@suino:~/src/iaxclient-svn-tree/trunk/contrib/tcl$ ldd libtcliaxclient0.2.so linux-gate.so.1 => (0xffffe000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7efe000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7db4000) /lib/ld-linux.so.2 (0x80000000) they looks good, no external lib deps beside the usual suspects it seems to me that at compile time it fails to bundle external libs... but I'm far from being an expert in this stuff.... P.S. I've to append --without-gsm flag to iaxclient configure otherwise, tcliaxclient complains also about "undefined symbol: gsm_create" maybe that's a symptom |