[RHEL7.2] Error while loading shared libraries: xxxxxx.so: cannot open shared object file: No such file or directory

Solution Verified - Updated -

Issue

  • Error while loading shared libraries: xxxxxx.so: cannot open shared object file: No such file or directory.
  • When system boots ldconfig.service executes before filesystem mount.
  • Application doesn't reload automatically after updating system from RHEL7.1 to RHEL7.2.
  • After RHEL 7.2 KVM VM reboot our application does not see shared libraries configured in file.
# cat /etc/ld.so.conf.d/app.conf
/opt/application/app-libraries/

Environment

  • Red Hat Enterprise Linux 7.2
  • ldconfig

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content