← Back to team overview

openjdk team mailing list archive

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

 

Public bug reported:

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

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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” source 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



Follow ups

References