regarding python and c++ interaction
Fredrik Lundh
fredrik at pythonware.com
Wed Oct 5 10:58:00 EDT 2005
"parul garg" wrote:
> i am new to python.i hav to call function of c++ .so file(shared
> library)on linux.
> any how i am not able to do that.
> i had made one zoo.so file.when i import it this gives the following error...
>
>>>> import zoo
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: ./zoo.so: undefined symbol: _Znwj
no matter what that so contains, it's not properly linked
$ echo _Znwj | c++filt
operator new(unsigned int)
</F>
More information about the Python-list
mailing list