Java Rare dependency error jstat:error while loading shared libraries:libjli.so:cannot open Shared object file:no such file or Direc Tory

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.