[C++-sig] ImportError

Grant Tang gtang at blake.bcm.tmc.edu
Mon Feb 27 04:21:36 CET 2006

Paul F. Kunz wrote:

>>>>>> On Sun, 26 Feb 2006 16:55:44 -0500, Etienne Lachance
>>>>>> <etienne.lachance at polymtl.ca> said:
>> Hi All, I'm having a problem when importing my library. I'm using a
>> Makefile to compile my library. Do you know what is the problem?
>> Thanks.
>>>>> import gailGA
>> Traceback (most recent call last): File "<stdin>", line 1, in ?
>> ImportError: ./gailGA.so: undefined symbol:
>> _ZN18GA_scalingLinearETC1Ed
>    This means that our Python module is not finding the path to your
> C++ shared library.

I don't think so. It looks more like some kind of boost.python library
version problem. Are you sure the shared boost.python library linked in
your system is the same library you build gailGA.so?


More information about the Cplusplus-sig mailing list