openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00247
[Bug 224110] Re: /usr/lib/jvm/java-6-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot openshared object file: No such file or directory
** Changed in: linux (Ubuntu)
Sourcepackagename: linux-ubuntu-modules-2.6.24 => linux
Status: In Progress => Won't Fix
** Summary changed:
- /usr/lib/jvm/java-6-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot openshared object file: No such file or directory
+ /usr/lib/jvm/java-6-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot openshared object file: No such file or directory - /proc/self/exe fullpath error on stackable filesystem
--
/usr/lib/jvm/java-6-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot openshared object file: No such file or directory - /proc/self/exe fullpath error on stackable filesystem
https://bugs.launchpad.net/bugs/224110
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in Source Package "linux" in Ubuntu: Won't Fix
Status in Source Package "openjdk-6" in Ubuntu: Fix Released
Bug description:
Hi,
When running java from openjdk-6-jre-headless with an unionfs-ed /, it fails to append the proper library path to locate the libs it needs.
10:48 < StevenK> The problem is this:
10:49 < StevenK> java reads /proc/self/exe and comes up with the full path,
including the bits that are hidden under unionfs, like
/squashmnt or /persistmnt, and returns
/squashmnt/usr/lib/jvm/java-6-openjdk/jre/bin/java
10:50 < StevenK> java then looks for it's libraries in
/squashmnt/usr/lib/jvm/java-6-openjdk/jre/lib, and can't find
them.
Adding /squashmnt -> / and /persistmnt -> / symlinks works around the issue.
This typically affects UME and live CDs.
Bye,
References