[pylucene-dev] building pylucene fails here
Helmut Jarausch
jarausch at igpm.rwth-aachen.de
Tue Nov 27 03:27:19 PST 2007
Hi,
I have tried to build PyLucene-2.2.0-1 here on my Gentoo system.
Having found the hint to add the rpath to the compiler flags I
got somewhere but now I struggle with the next problem (sorry, I like
Python but not Java)
File "/usr/lib/python2.5/site-packages/jcc/__init__.py", line 27, in <module>
from jcc import cpp
File "/usr/lib/python2.5/site-packages/jcc/__init__.py", line 30, in <module>
from _jcc import initVM
ImportError: /usr/lib/jvm/sun-jdk-1.6/jre/lib/i386/libjava.so: symbol JVM_GetClassSignature,
version SUNWprivate_1.1 not defined in file libjvm.so with link time reference
here my setp.py for jcc
INCLUDES = {
'linux2': ['/usr/lib/jvm/sun-jdk-1.6/include',
'/usr/lib/jvm/sun-jdk-1.6/include/linux'],
}
LFLAGS = {
'linux2': ['-L/usr/lib/jvm/sun-jdk-1.6/jre/lib/i386', '-ljava','-Wl,-rpath=/usr/lib/jvm/sun-jdk-1.6/jre/lib/i386:/usr/lib/jvm/sun-jdk-1.6/jre/lib/i386/client'],
}
Does anybody know a patch or what to do about it?
Many thanks for a hint,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
More information about the pylucene-dev
mailing list