How to reach libjvm.so (java2-runtime)

Norbert Schultz zaiib at gmx.net
Sat Aug 29 12:19:02 UTC 2009


Hi,

I try to understand why the bug 

https://bugs.launchpad.net/ubuntu/+source/soprano-backend-sesame/+bug/334186

happens. The soprano backend (some semantic database backend for KDEs Nepomuk) 
wants to reach libjvm.so. It is avaiable through the different java runtime 
implementations and the requirement of the package is also java2-runtime.

But it seems like no java implementation tell the linker where to find it; 
e.g. through /etc/ld.so.conf.d/ or a symlink to /etc/alternatives/libjvm.so 
(both could be managed within update-java-alternatives). Or is there another 
way to get the correct path? The build procedure of the package itself (when 
called by hand) puts in the path through ld's "rpath" option which can also 
not be the solution if you want to be independent of the current jdk.

Greetings,
Norbert






More information about the Ubuntu-devel-discuss mailing list