Bug 35475 - java: error while loading shared libraries: libjli.so
Summary: java: error while loading shared libraries: libjli.so
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: java-1.8.0-openjdk-headless (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL: https://www.altlinux.org/Hasher/FAQ
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-05 01:01 MSK by Gremlin from Kremlin
Modified: 2018-10-06 11:24 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gremlin from Kremlin 2018-10-05 01:01:07 MSK
[builder@localhost .in]$ java -version
java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

[builder@localhost .in]$ ldd /usr/bin/java
        linux-vdso.so.1 (0x00007ffccfedf000)
        libjli.so => not found
        libc.so.6 => /lib64/libc.so.6 (0x00007f0d20822000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f0d20bdc000)

[builder@localhost .in]$ find / -type f -name libjli.so
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-5.b12.x86_64/lib/amd64/jli/libjli.so
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-5.b12.x86_64/jre/lib/amd64/jli/libjli.so

https://bugzilla.redhat.com/show_bug.cgi?id=1388533
Comment 1 viy 2018-10-05 10:10:34 MSK
Это известная фича. в chroot нет /proc, ищите в wiki /proc
Пользуйтесь --mountpoints=/proc для hsh.