>
> Your LD_LIBRARY_PATH is incorrect. On Linux, it's better to not set it and
> ensure that -Wl,-rpath is in your jcc's setup.py LFLAGS['linux2'] with the
> correct path.
>
Here is my LFLAGS from setup.py. The character after
LFLAGS = {
'darwin': ['-framework', 'JavaVM'],
'linux2': ['-L/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386',
'-ljava',
'-Wl,rpath=/usr/lib/jvm/java-1.5.0-sun-1.5.0.08
/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client'],
'win32': ['/LIBPATH:o:/Java/jdk1.6.0_02/lib', 'jvm.lib']
}
libjava.so exists in that first directory
[EMAIL PROTECTED]:~$ ls -l /usr/lib/jvm/java-1.5.0-sun-1.5.0.08
/jre/lib/i386/libjava.so
-rw-r--r-- 1 root root 140856 2006-07-11 13:30 /usr/lib/jvm/java-
1.5.0-sun-1.5.0.08/jre/lib/i386/libjava.so
[EMAIL PROTECTED]:~$
Trying to build jcc leads to
/usr/bin/ld: rpath=/usr/lib/jvm/java-1.5.0-sun-1.5.0.08
/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client: No
such file: No such file or directory
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
--
I am often wrong, but I am never in doubt.
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev