undefined symbol: Py_InitModule4

Bug #320590 reported by Martin von Gagern
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clearsilver (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-clearsilver

python-clearsilver 0.10.4-1ubuntu1 from ubuntu hardy fails to load with python 2.5.2:

$ python --version
Python 2.5.2
$ python -c "import neo_cgi"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/lib/python2.5/site-packages/neo_cgi.so: undefined symbol: Py_InitModule4

This might be due to the fact that the same library is installed for python 2.4 and python 2.5, at least here on the amd64 architecture:

$ md5sum /usr/lib/python2.*/site-packages/neo_cgi.so
737e21784253740b7d738f2617634b31 /usr/lib/python2.4/site-packages/neo_cgi.so
737e21784253740b7d738f2617634b31 /usr/lib/python2.5/site-packages/neo_cgi.so

On intrepid i386 with clearsilver 0.10.4-1.3, the module loads, and the files are different.
This issue has impact e.g. on trac on hardy webservers.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.