← Back to team overview

openjdk team mailing list archive

[Bug 388897] Re: libjvm.so not linked in /usr/lib makes Strigi unable to run

 

*** This bug is a duplicate of bug 334186 ***
    https://bugs.launchpad.net/bugs/334186

I'm running Kubuntu Jaunty (with the latest KDE RC1 packages installed
from the Kubuntu Backports repo and can confirm this. The solution
works, too. Thanks for finding it, by the way :)

-- 
libjvm.so not linked in /usr/lib makes Strigi unable to run
https://bugs.launchpad.net/bugs/388897
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: New

Bug description:
Binary package hint: openjdk-6-jre-headless

When trying to enable Strigi search using Karmic Alpha 2 and KDE 4.3 beta 2 it displays the following error message: "Strigi service failed to initialize, most likely due to an installation problem."

Looking for information about this bug I ended at https://bugs.kde.org/show_bug.cgi?id=193541 where https://bugs.kde.org/show_bug.cgi?id=193541#c9 gives the solution: you need a symlink to libjvm.so at /usr/lib.

He uses java-6-sun vm (and i386 architecture) while I myself use java-6-openjdk (under amd64), wich is suggested to install when you first enable nepomuk.

sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/server/libjvm.so /usr/lib/libjvm.so
sudo ln -s /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so /usr/lib/libjvm.so

So you need to look for the java vm and the architecture and include that link in the openjdk-6-jre-headless package, in my case. Maybe it would be a good idea to check if the problem exists with openjdk+i386 or with sun



References