I am trying to install Djapian on RedHat5 / Python2.6. I have already installed it successfully on my OSX 10.6 machine.
I have built and compiled Xapian and Djapian without issue for Py2.6. I then install the Python Bindings for Xapian and it works fine, however, if open the Python interpreter and type 'import xapian, or try including djapian in my Django app, I get the following error:
/usr/lib64/python2.6/site-packages/_xapian.so: undefined symbol: Py_InitModule4
In searching, I have seen this issue for several Modules not just Xapian, but i can't seem to find a good solution. I do have python-devel installed.
I am guessing the issue is on the Python side and not Xapian.