Problem on SWIG/C++/Python
clio
wangye1 at auburn.edu
Wed Sep 26 11:30:55 EDT 2001
Graham Dumpleton wrote:
> clio <wangye1 at auburn.edu> wrote in message news:<3BB0A7DD.5000908 at auburn.edu>...
>
>>ImportError: ./clientapimodule.so: undefined symbol: __builtin_new
>> >>>
>>
>
> Ensure you create the shared library using g++ and not gcc, ie.,
>
> /usr/bin/g++ -shared -o clientapimodule.so *.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.
>
Thanks.
I do not get importerror now. I am writing code to test the module.
Ye
More information about the Python-list
mailing list