[pylucene-dev] Build of PyLucene/JCC failed on Ubuntu 7.04
Jarek Zgoda
jarek.zgoda at sensisoft.com
Wed Sep 26 00:35:26 PDT 2007
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'],
}
I tried both with jdk symlink (/usr/lib/jvm/java-6-sun) and real
directory and the result of ldd is always as below:
$ ldd build/lib.linux-i686-2.5/jcc/_jcc.so
linux-gate.so.1 => (0xffffe000)
libjava.so => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7dfa000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7dd2000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7dc6000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7daf000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c6e000)
/lib/ld-linux.so.2 (0x80000000)
The libjava.so definitely is in a directory
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386 which is symlinked to
/usr/lib/jvm/java-6-sun/jre/lib/i386.
Is the JDK6 not supported by JCC?
--
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