libjvm.so not linked in /usr/lib makes Strigi unable to run

Bug #388897 reported by Javier Romero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

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

Revision history for this message
Florian Wiesweg (flow) wrote :

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 :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.