Comment 1 for bug 86685

Revision history for this message
Antonio Censi (accensi) wrote : Re: neo_cgi.so: undefined symbol: Py_InitModule4

I can confirm the error too.

Py_InitModule4 in 64bit systems was renamed to Py_InitModule4_64 to allow addressing more than 4Gbytes. See http://www.python.org/dev/peps/pep-0353/.

In http://svn.python.org/projects/python/trunk/Include/modsupport.h
#if SIZEOF_SIZE_T != SIZEOF_INT
/* On a 64-bit system, rename the Py_InitModule4 so that 2.4
   modules cannot get loaded into a 2.5 interpreter */
#define Py_InitModule4 Py_InitModule4_64
#endif

So perhaps there was an configuration error when compiling the module.

I did the same installation of Trac 2 days ago in a x386 and it worked. Today when I tried in a amd64, I got the error.