Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179481 - dev-java/antlr-2.7.7 error while compiling: libjli.so not found
Summary: dev-java/antlr-2.7.7 error while compiling: libjli.so not found
Status: RESOLVED DUPLICATE of bug 165330
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 199942 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-23 07:22 UTC by Mateusz Kotyrba
Modified: 2007-12-24 14:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
error message (antlr.error,20.49 KB, text/plain)
2007-05-23 07:22 UTC, Mateusz Kotyrba
Details
emege --info (emerge.info,7.55 KB, text/plain)
2007-05-23 07:23 UTC, Mateusz Kotyrba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Kotyrba 2007-05-23 07:22:09 UTC
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
Comment 1 Mateusz Kotyrba 2007-05-23 07:22:38 UTC
Created attachment 120057 [details]
error message
Comment 2 Mateusz Kotyrba 2007-05-23 07:23:09 UTC
Created attachment 120058 [details]
emege --info
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-05-23 07:30:03 UTC
(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
Comment 4 Mateusz Kotyrba 2007-05-23 07:36:57 UTC
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
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2007-05-23 07:43:32 UTC
(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.
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-06-18 22:59:07 UTC
Please reopen if problem still persist after re-emerging sun-jdk-1.6
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-11-23 14:26:30 UTC
*** Bug 199942 has been marked as a duplicate of this bug. ***
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-11-23 14:26:50 UTC
Got another report of this same issue.
Comment 9 Remigiusz Jan Andrzej Modrzejewski 2007-11-30 17:37:50 UTC
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). 
Comment 10 Petteri Räty (RETIRED) gentoo-dev 2007-12-24 14:06:24 UTC
(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 ***