[pylucene-dev] pylucene/jcc compilation issues

Andi Vajda vajda at osafoundation.org
Thu Oct 25 09:52:46 PDT 2007


On Thu, 25 Oct 2007, Henrik Dittmann wrote:

> Hope I am not hijacking your thread here, Phil, but a question that
> seems closely related: Am I right in understanding that you have to keep
> the LD_LIBRARY_PATH around for running PyLucene with JCC? If I don't put
> it somewhere in my .profile or .bashrc, I get the same error about being
> unable to open libjava.so whenever I import PyLucene.

Yes, you need to set LD_LIBRARY_PATH so that the dynamic linker can find the 
Java Runtime libraries and Java VM when PyLucene is run.

Andi..


More information about the pylucene-dev mailing list