共有ライブラリーをロードすると xxxxxx.so: cannot open shared object file: No such file or directory のエラーが表示される
Issue
- 共有ライブラリーをロードすると xxxxxx.so: cannot open shared object file: No such file or directory のエラーが表示されます。
- システムを起動するときに、ldconfig.service を実行してからファイルシステムをマウントします。
- RHEL7.1 から RHEL7.2 にシステムをアップデートしたあと、アプリケーションが自動的に再ロードしません。
- RHEL 7.2 KVM 仮想マシンを再起動すると、ファイルに設定した共有ライブラリーが表示されません。
# 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
