Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291875

Summary: kde-base/nepomuk-4.3.3 fails to compile because of libjava.so not found
Product: Gentoo Linux Reporter: Steffen Hau <steffen>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dkarasik, mark+gentoobugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steffen Hau 2009-11-04 17:31:07 UTC
I was running emerge -uvDN @world and both sun-jdk (from 1.6.0.16 to 1.6.0.17) and nepomuk (from 4.3.2 to 4.3.3) were set to be updated.

nepomuk fails with:
[...]
Error occurred during initialization of VM
Unable to load native library: /opt/sun-jdk-1.6.0.16/jre/lib/i386/libjava.so: cannot open shared object file: No such file or directory
make[2]: *** [nepomuk/strigibackend/nie.h] Error 1
make[1]: *** [nepomuk/strigibackend/CMakeFiles/sopranobackend.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

revdep-rebuild -ipv showed no packages wich should be reemerged.

Though, the emerge -uvDN told me after the failure in the messages section, that I have to run pemerge @preserved-rebuild. This has reemerged dev-libs/soprano-2.3.1. After that, nepomuk has compiled fine. Don't know, if there are ways, to solve it so that other users don't run into this issue.

The library, which has raised this issue was /usr/lib/soprano/libsoprano_sesame2backend.so, which was linked against the old libjvm.so.

Reproducible: Always
Comment 1 Mark Nowiasz 2009-11-04 18:22:43 UTC
Same here - thanks for the solution: emerge @preserved-rebuild after failing to build nepomuk did the trick for me, too.
Comment 2 Gustavo Henrique Nihei 2009-11-04 19:15:53 UTC
I had the same issue. I just reemerged dev-libs/soprano-2.3.1 and then nepomuk compiled without problems.
Comment 3 Anthony Staines 2009-11-07 14:48:23 UTC
This solved the problem on amd64
Thanks,
Anthony
Comment 4 Mathias Weigt 2009-11-08 09:49:01 UTC
emerge soprano helped here too... (amd64)
thanks
Comment 5 Alex Alexander (RETIRED) gentoo-dev 2009-11-09 02:24:46 UTC

*** This bug has been marked as a duplicate of bug 284475 ***