[pylucene-dev] Build of PyLucene/JCC failed on Ubuntu 7.04

Jarek Zgoda jarek.zgoda at sensisoft.com
Thu Sep 27 01:11:04 PDT 2007


Andi Vajda napisał(a):

>> I tried to build PyLucene/JCC on ubuntu 7.04 and it failed. Perhaps the
>> cause is JDK6 I'm using, because _jcc.so links libjava.so as missing.
>> Here's an excerpt from my modified setup.py for JCC:
>>
>> INCLUDES = {
>>    'linux2': ['/usr/lib/jvm/java-6-sun-1.6.0.00/include',
>>               '/usr/lib/jvm/java-6-sun-1.6.0.00/include/linux'],
>> }
>>
>> LFLAGS = {
>>    'linux2': ['-L/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386',
>> '-ljava'],
>> }
> 
> Did you set LD_LIBRARY_PATH to include something like:
> /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client

OK, that was it. Thank you. I can officially confirm PyLucene/JCC builds
and passes tests on Ubuntu 7.04, Python 2.5.1, Sun JDK 1.6.0.

-- 
Jarek Zgoda
Skype: jzgoda | GTalk: zgoda at jabber.aster.pl | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)


More information about the pylucene-dev mailing list