Undefined symbol "csin"

ff b fred1z at hotmail.com
Mon Mar 5 00:47:36 UTC 2007


Hi,

I've compiled sources of a C library which is then used by a python library.
Everything's ok at compile time but at runtime (of a python script using the 
python lib
and thus the shared lib compiled from the C source), it tries to load
the library I've compiled and failed with :

Traceback (most recent call last):
  File "lp", line 1, in ?
    from cvxopt.base import matrix
ImportError: /my/local/path/lib/python/cvxopt/base.so: Undefined symbol 
"csin"

>ldd /my/local/path/lib/python/cvxopt/base.so
/my/local/path/lib/python/cvxopt/base.so:
        libm.so.4 => /lib/libm.so.4 (0x28172000)
        liblapack.so.4 => /usr/local/lib/liblapack.so.4 (0x28188000)
        libblas.so.2 => /usr/local/lib/libblas.so.2 (0x28573000)
        libg2c.so.2 => /usr/lib/libg2c.so.2 (0x285c1000)
        libgcc_s.so.1 => /usr/local/lib/gcc-4.2.0/libgcc_s.so.1 (0x285dd000)
        libc.so.6 => /lib/libc.so.6 (0x28077000)

Looking at headers in /usr/include and /usr/local/include, I didn't find any 
(math) header
with csin.
What am I missing ?
Are trigonometric functions on complex, implemented on freebsd ?
Thanks!

F.

_________________________________________________________________
Win a Zune™—make MSN® your homepage for your chance to win! 
http://homepage.msn.com/zune?icid=hmetagline



More information about the freebsd-questions mailing list