From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-04 09:21:58
----- Original Message -----
From: "cartersanders" <boost_at_[hidden]>
> I'm new to boost and have just finished building a shared library of
> (non example) code for the first time. The code compiles and links
> succesfully with libboost_python, but when I try to import the module,
> >>> import RandomEngine.so
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: ./RandomEngine.so: undefined symbol: _ZdlPv
> $ nm RandomEngine.so|grep _ZdlPv
> U _ZdlPv
FWIW, this symbol is not used or generated by Boost.Python.
> This is one file of a very large physics library, and the .o is
> several others to make a .a library. Is there any way I can do a
> successful import of a single class from one file to make sure I am
> doing this right?
Please be more specific. Surely any of the demo modules which expose a
class can be used to do this.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk