Command "XX" fails with "XX: error while loading shared libraries: <library-version>.so: cannot open shared object file: No such file or directory" error.
Issue
- Shell commands are failing with the following types of errors:
# ps
ps: error while loading shared libraries: libproc-3.2.3.so: cannot open shared object file: No such file or directory
rpm
commands also fail with the following error:
# rpm -q procps
rpm: error while loading shared libraries: librpm-4.3.so: cannot open shared object file: No such file or directory
# rpm -V procps
rpm: error while loading shared libraries: librpm-4.3.so: cannot open shared object file: No such file or directory
Environment
- Red Hat Enterprise Linux 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.