Java has been used for a long time, suddenly, unexpectedly found that there is a dependent so file has never been seen
# Ldd/usr/bin/java Linux-vdso.So.1 = (0x00007fffba769000) libpthread. so. 0 =/lib64/libpthread. so. 0 (0x00000038c4000000) libjli. so = not found LIBDL. so. 2 =/LIB64/LIBDL. so. 2 (0x0000003da7c00000) libc. So. 6 =/lib64/libc. so. 6 (0x0000003da7400000)/lib64/ld-linux-x86- 64.so. 2 (0x0000003da6c00000)
In fact, the so file in the Java installation package is some, but did not add the Ld_path inside, the solution:
# RPM-QL Jdk1. 8.0_45| grep libjli/usr/java/jdk1. 8.0_45/jre/lib/amd64/jli/libjli. So/usr/java/jdk1. 8.0_45/lib/amd64/jli/libjli. so
Then, add/usr/java/jdk1.8.0_45/jre/lib/amd64/jli/or/usr/java/jdk1.8.0_45/lib/amd64/jli/to the file:/etc/ld.so.conf, Then execute ldconfig to
Finally, libjli.so is a what thing, why never to see, but also never reported missing?
Stay for reference, thank God Man
Turn from:
Http://www.tuicool.com/articles/ruYzemZ
Java Rare dependency error jstat:error while loading shared libraries:libjli.so:cannot open Shared object file:no such file or Direc Tory