[pylucene-dev] Question about installing PyLucene onto amd64

Andi Vajda vajda at osafoundation.org
Mon Jul 30 02:40:30 PDT 2007


On Sun, 29 Jul 2007, Micah Vivion wrote:

> ELFCLASS32. Is the general issue trying to run the 32 bit version of PyLucene 
> on this OS?

Most likely, yes.

> 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?

The Ubuntu 64 binaries available for download were built for Python 2.4. They 
are not compatible with Python 2.5.

> 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?

You need to build your own binaries as described at [1]. Of course, 
gcj 4.2.0 has been released since so instead of using the snapshot mentionned 
use the release sources.

Andi..

[1] http://lists.osafoundation.org/pipermail/pylucene-dev/2006-November/001404.html


More information about the pylucene-dev mailing list