Re: Undefined symbol _Py_ZeroStruct

Franck Pommereau <[email protected]> Thu, 01 Oct 2009 08:59:56 +0200
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
> 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