For some reason, all (or very many) shared libraries no longer load. However, ldconfig claims that the library exists.
web6:~ # sendmail -?
sendmail: error while loading shared libraries: libdb-4.8.so: cannot open shared object file: No such file or directory
web6:~ # ldconfig -v | grep libdb-4.8
libdb-4.8.so -> libdb-4.8.so
web6:~ # sendmail -?
sendmail: error while loading shared libraries: libdb-4.8.so: cannot open shared object file: No such file or directory
web6:~ # zypper -?
zypper: error while loading shared libraries: libmodman.so.1: cannot open shared object file: No such file or directory
web6:~ # rpm -qa | grep libdb-
libdb-4_8-4.8.30-17.1.4.x86_64
libdb-4_8-32bit-4.8.30-17.1.4.x86_64
web6:~ #
Any suggestions as to what could be happening?
This affects many programs, although Apache2 is still OK. I discovered this when a user said that contact form were no longer emailing submissions.
LD_DEBUG=libs sendmail -?
1927: find library=libresolv.so.2 [0]; searching
1927: search cache=/etc/ld.so.cache
1927: trying file=/lib64/libresolv.so.2
1927:
1927: find library=libnsl.so.1 [0]; searching
1927: search cache=/etc/ld.so.cache
1927: trying file=/lib64/libnsl.so.1
1927:
1927: find library=libcrypt.so.1 [0]; searching
1927: search cache=/etc/ld.so.cache
1927: trying file=/lib64/libcrypt.so.1
1927:
1927: find library=libm.so.6 [0]; searching
1927: search cache=/etc/ld.so.cache
1927: trying file=/lib64/libm.so.6
1927:
1927: find library=libdb-4.8.so [0]; searching
1927: search cache=/etc/ld.so.cache
1927: search path=/lib64/tls/x86_64:/lib64/tls:/lib64/x86_64:/lib64:/usr/lib64/tls/x86_64:/usr/lib64/tls:/usr/lib64/x86_64:/usr/lib64 (system search path)
1927: trying file=/lib64/tls/x86_64/libdb-4.8.so
1927: trying file=/lib64/tls/libdb-4.8.so
1927: trying file=/lib64/x86_64/libdb-4.8.so
1927: trying file=/lib64/libdb-4.8.so
1927: trying file=/usr/lib64/tls/x86_64/libdb-4.8.so
1927: trying file=/usr/lib64/tls/libdb-4.8.so
1927: trying file=/usr/lib64/x86_64/libdb-4.8.so
1927: trying file=/usr/lib64/libdb-4.8.so
1927:
sendmail: error while loading shared libraries: libdb-4.8.so: cannot open shared object file: No such file or directory