compiling dev-java/antlr gives an error: /opt/sun-jdk-1.6.0/bin/javac: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory full error message and emerge --info given in the attachment. Reproducible: Always Steps to Reproduce: 1. emerge antlr 2. 3. Expected Results: resolve it
Created attachment 120057 [details] error message
Created attachment 120058 [details] emege --info
(In reply to comment #0) > compiling dev-java/antlr gives an error: > > /opt/sun-jdk-1.6.0/bin/javac: error while loading shared libraries: libjli.so: > cannot open shared object file: No such file or directory > Please post/attach the outputs of: qlist sun-jdk-1.6 | grep libjli | xargs ls -l qcheck sun-jdk-1.6
biker / # qlist sun-jdk-1.6 | grep libjli | xargs ls -l -rwxr-xr-x 1 root root 38270 maj 21 16:32 /opt/sun-jdk-1.6.0/jre/lib/i386/jli/libjli.so biker / # qcheck sun-jdk-1.6 Checking dev-java/sun-jdk-1.6.0-r2 ... AFK: /opt/sun-jdk-1.6.0/jre/lib/applet * 952 out of 953 files are good
(In reply to comment #4) The partition where sun-jdk-1.6 is installed haven't run out of disk space for example? Please try re-emerging sun-jdk-1.6.
Please reopen if problem still persist after re-emerging sun-jdk-1.6
*** Bug 199942 has been marked as a duplicate of this bug. ***
Got another report of this same issue.
A simple workaround, that I found least intrusive for existing installations, is simply linking the lib into /usr/lib (like ln -s /opt/sun-jdk-1.6.0.03/jre/lib/amd64/jli/libjli.so /usr/lib/libjli.so).
(In reply to comment #9) > A simple workaround, that I found least intrusive for existing installations, > is simply linking the lib into /usr/lib (like ln -s > /opt/sun-jdk-1.6.0.03/jre/lib/amd64/jli/libjli.so /usr/lib/libjli.so). > This bug is caused by not having /proc mounted. *** This bug has been marked as a duplicate of bug 165330 ***