Why does the error message "/sbin/ldconfig: File/path/to/library/lib/library_file1.so is empty, not checked" occur when the yum command is executed?
Issue
- When the yum history command is executed, an error message is printed in the "Script output" section as shown below.
]#yum history
Updating Subscription Management repositories.
Unable to read consumer identity
...
Scriptlet output:
1 /sbin/ldconfig: File /lib64/libcpqci64.so.3 is empty, not checked.
2 /sbin/ldconfig: File /lib64/libhponcfg64.so is empty, not checked.
3 /sbin/ldconfig: File /lib64/libcpqci64.so.3 is empty, not checked.
4 /sbin/ldconfig: File /lib64/libhponcfg64.so is empty, not checked.
-
I referred to the document below that was guided for the same error message,
but the directory is not set up in the /etc/ld.so.conf file or /etc/ld.so.conf.d/*.
# cat ld.so.conf
include ld.so.conf.d/*.conf
]# cat ld.so.conf.d/*.conf
/usr/lib64//bind9-export/
/usr/lib64/dyninst
# Placeholder file, no vDSO hwcap entries used in this kernel.
# Placeholder file, no vDSO hwcap entries used in this kernel.
/usr/lib64/iscsi
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.