Problem on SWIG/C++/Python

clio wangye1 at
Wed Sep 26 17:30:55 CEST 2001

Graham Dumpleton wrote:
> clio <wangye1 at> wrote in message news:<3BB0A7DD.5000908 at>...
>>ImportError: ./ undefined symbol: __builtin_new
>> >>>
> Ensure you create the shared library using g++ and not gcc, ie.,
>   /usr/bin/g++ -shared -o *.o
> If you don't do this, the C++ run time library will not be referenced
> by the library and dragged in automatically when the .so is loaded.
> If you are already using g++ to create the shared, not sure.

I do not get importerror now.  I am writing code to test the module.


More information about the Python-list mailing list