openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00067
[Bug 224110] [NEW] /usr/lib/jvm/java-6-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot openshared object file: No such file or directory
Public bug reported:
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,
** Affects: linux-ubuntu-modules-2.6.24 (Ubuntu)
Importance: Undecided
Status: New
** Affects: openjdk-6 (Ubuntu)
Importance: Undecided
Status: New
** Tags: ume
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
/usr/lib/jvm/java-6-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot openshared object file: No such file or directory
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-ubuntu-modules-2.6.24" in Ubuntu: New
Status in Source Package "openjdk-6" in Ubuntu: New
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,
Follow ups
-
[Bug 224110] crazy stuff
From: payo, 2016-09-26
-
[Bug 224110] useful links
From: payo, 2016-05-17
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: Launchpad Bug Tracker, 2011-04-08
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: Jeremy Foshee, 2011-01-12
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: Max Bowsher, 2009-06-13
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: amygalloway89, 2009-06-12
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: Matthias Klose, 2008-09-28
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: Leann Ogasawara, 2008-08-28
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: Max Bowsher, 2008-07-31
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: Andreas Schildbach, 2008-07-31
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: Matthias Klose, 2008-06-03
-
[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 - /proc/self/exe fullpath error on stackable filesystem
From: Leann Ogasawara, 2008-06-03
-
[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
From: Colin King, 2008-06-03
-
[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
From: Loïc Minier, 2008-06-03
-
[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
From: Colin King, 2008-06-03
-
[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
From: Colin King, 2008-05-23
-
[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
From: Colin King, 2008-05-22
-
[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
From: Launchpad Bug Tracker, 2008-05-14
-
[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
From: Matti Lindell, 2008-04-29
-
[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
From: Loïc Minier, 2008-04-29
-
[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
From: Loïc Minier, 2008-04-29
-
[Bug 224110] [NEW] /usr/lib/jvm/java-6-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot openshared object file: No such file or directory
From: Loïc Minier, 2008-04-29
References