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

Jarek Zgoda jarek.zgoda at sensisoft.com
Wed Sep 26 12:26:38 PDT 2007


Andi Vajda <vajda at osafoundation.org> napisał(a):
>
> On Wed, 26 Sep 2007, Jarek Zgoda wrote:
>
>> 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

No, thanks for the tip, I'll try that tomorrow.

Cheers
J.



More information about the pylucene-dev mailing list