[Pyrex] Undefined symbol _Py_ZeroStruct

Franck Pommereau pommereau at univ-paris12.fr
Thu Oct 1 08:59:56 CEST 2009


> Exception ImportError: '/usr/lib/python2.6/lib-dynload/pyexpat.so:
> undefined symbol: _Py_ZeroStruct' in '_hello.JNI_OnLoad' ignored

I just tested with Python 2.5 instead of 2.6, I get

Exception exceptions.ImportError:
'/usr/lib/python2.5/lib-dynload/math.so: undefined symbol:
PyExc_ValueError' in '_sr.JNI_OnLoad' ignored

instead of the previous error. I suspect that this missing symbol is
just the first one in a very long list, and probably most of the Python
runtime is somehow unreachable.

Franck



More information about the Pyrex mailing list