$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-04 09:21:58
----- Original Message -----
From: "cartersanders" <boost_at_[hidden]>
> Hi-
> I'm new to boost and have just finished building a shared library of
real
> (non example) code for the first time. The code compiles and links
> succesfully with libboost_python, but when I try to import the module,
I
> get:
>
> >>> 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
bundled with
> 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.