I have seen the same error with the missing libjli.so when installing Java into an ubuntu chroot. Making sure that the /proc was correctly mounted in the chroot caused the error to go away.
Seems that the binary /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java checks inside its own /proc/self/exe to find a path, and then mangles that path to find the shared library files. In other words, the libraries are found in a path RELATIVE to the running executable rather than normal absolute library paths. This allows it access to libraries outside the standard ldconfig system. I would guess that such a method might be fragile so hopefully this gives people a hint about where to look for problems. -- Java install via Add/Remove crashed https://bugs.launchpad.net/bugs/103933 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
