Boost logo

Boost Users :

From: desai3_at_[hidden]
Date: 2007-09-17 10:14:01


Hi all:

I have successfully worked with Boost.Python on windows. However I am
having some trouble using it on SunOS 5.8. I will appreciate if someone
can help me out with this problem.

Everytime I try to import a module in Python it gives me:
ImportError: ld.so.1 python: fatal relocation error: ............
:referenced symbol not found.

So, I tried following command.

ldd -r libboost_python.so

I have put part of the output of "ldd" command below.

libstdc++.so.4 => /dq/local/gcc-3.1.1/lib/libstdc++.so.4
libm.so.1 => /usr/lib/libm.so.1
libgcc_s.so.1 => /dq/local/gcc-3.1.1/lib/libgcc_s.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
symbol not found: PyComplex_Type (./libboost_python.so)
symbol not found: PyFloat_Type (./libboost_python.so)
symbol not found: PyExc_StopIteration (./libboost_python.so)
symbol not found: PyMethod_Type (./libboost_python.so)
symbol not found: PyExc_IndexError (./libboost_python.so)
symbol not found: PyExc_OverflowError (./libboost_python.so)
symbol not found: PyInt_Type (./libboost_python.so)
symbol not found: PyModule_Type (./libboost_python.so)

Could someone please let me know how could I make these missing symbols
available?I will greatly appreciate it if someone can help me with this
problem.

Thank you.

Maulik


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net