[pylucene-dev] Question about installing PyLucene onto amd64

Micah Vivion micahvivion at gmail.com
Sun Jul 29 18:00:06 PDT 2007


Greetings,

We have been using PyLucene on our OS X laptops for a short time and  
have had good success with our progress. Now comes the issue of  
getting things pushed to our production server. The production server  
that we would like to use PyLucene on is running Ubuntu 7.04 with  
amd64 and Python 2.5. I have read through the mailing list but I have  
become somewhat confused as to what version of PyLucene I should us.  
So far I have tried:
1) Using Ubuntu 7.04 version of (PyLucene-2.2.0-1.tar.gz). After  
doing the normal install process and trying a simple PyLucene test I  
get the error of: ImportError: /usr/lib/python2.5/site-packages/ 
_PyLucene.so: wrong ELF class: ELFCLASS32. Is the general issue  
trying to run the 32 bit version of PyLucene on this OS?

2) Using the Ubuntu 64 compiled version of PyLucene  
(PyLucene-2.1.0-1.tar.gz). After doing the normal install progress  
and trying a simple test with PyLucene I get the error of:  
ImportError: /usr/lib/python2.5/site-packages/_PyLucene.so: undefined  
symbol: Py_InitModule4. These errors are a bit out of my knowledge  
level - anyone know what is going on here?

So where do I go from here? Is there something else that I missed?  
Has anyone been able to get the compiled versions of PyLucene to work  
on their amd64 version of Ubuntu Linux?

Yes I realize that I can try building from source for this platform  
but I didn't see in the mailing list if anyone had been able to do  
this yet.

Thanks!!!


More information about the pylucene-dev mailing list