[pylucene-dev] about compilation
Andi Vajda
vajda at osafoundation.org
Mon Oct 1 09:05:56 PDT 2007
On Mon, 1 Oct 2007, ozgur efendi wrote:
> i've been trying for days, but could not have a succesful compilation with
> bot the gcj and jcc versions yet.
>
> tries with jcc version ends up as this:
>
> this snippet is from my ldconfig -v output:
> # ldconfig -v |grep java
> libdb_java-4.5.so -> libdb_java.so
> /hangar/uygulama/java/jdk1.5.0_12/jre/lib/i386/server:
> /hangar/uygulama/java/jdk1.5.0_12/jre/lib/i386: (hwcap: 0x0001000000000000)
> libjavaplugin_jni.so -> libjavaplugin_jni.so
> libjava.so -> libjava.so
> libjava_crw_demo.so -> libjava_crw_demo.so
> libjavaplugin_nscp_gcc29.so -> libjavaplugin_nscp_gcc29.so
> libjavaplugin_nscp.so -> libjavaplugin_nscp.so
> /hangar/uygulama/java/jdk1.5.0_12/jre/lib/i386/xawt:
>
>
> and this is the output of ldd command.
> # ~/PyLucene-2.2.0-1/jcc> 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 (0x4016e000)
> libm.so.6 => /lib/libm.so.6 (0x4023b000)
> libgcc_s.so.1 => /usr//lib/libgcc_s.so.1 (0x40260000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x4026a000)
> libc.so.6 => /lib/libc.so.6 (0x4027e000)
> /lib/ld-linux.so.2 (0x80000000)
>
> i don't know why libjava.so can not be found.
Did you set LD_LIBRARY_PATH to have both
/hangar/uygulama/java/jdk1.5.0_12/jre/lib/i386 and
/hangar/uygulama/java/jdk1.5.0_12/jre/lib/i386/server ?
Note that PyLucene with JCC no longer includes the db contrib (Berkeley DB
support).
Andi..
More information about the pylucene-dev
mailing list