[pylucene-dev] building pylucene fails here

Andi Vajda vajda at osafoundation.org
Tue Nov 27 10:26:11 PST 2007


On Tue, 27 Nov 2007, Helmut Jarausch wrote:

> 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

I've been able to do the same thing on Ubuntu with the same Sun Java 1.6 VM 
without any problems. Your paths seem correct. Maybe you could ask some 
Gentoo forum about this issue with Java ?
If you solve this, posting the solution here might be helpful too.

Thanks !

Andi..


More information about the pylucene-dev mailing list