报错:lib….so.10 is empty, not checked.

2016年7月28日 | 分类: 【技术】

在yum安装一组包时,程序故障导致安装中止。

运行:


ldconfig

输出:


ldconfig: File /lib64/libzzip-0.so.10 is empty, not checked.
ldconfig: File /lib64/libzzip-0.so.11 is empty, not checked.
ldconfig: File /lib64/libzzip-0.so.12 is empty, not checked.
ldconfig: File /lib64/libzzip-0.so.13 is empty, not checked.
ldconfig: File /lib64/libzzip-0.so.13.0.62 is empty, not checked.
ldconfig: File /lib64/libzzipfseeko-0.so.10 is empty, not checked.
ldconfig: File /lib64/libzzipfseeko-0.so.11 is empty, not checked.
ldconfig: File /lib64/libzzipfseeko-0.so.12 is empty, not checked.
ldconfig: File /lib64/libzzipfseeko-0.so.13 is empty, not checked.
ldconfig: File /lib64/libzzipfseeko-0.so.13.0.62 is empty, not checked.
ldconfig: File /lib64/libzzipmmapped-0.so.10 is empty, not checked.
ldconfig: File /lib64/libzzipmmapped-0.so.11 is empty, not checked.
ldconfig: File /lib64/libzzipmmapped-0.so.12 is empty, not checked.
ldconfig: File /lib64/libzzipmmapped-0.so.13 is empty, not checked.
ldconfig: File /lib64/libzzipmmapped-0.so.13.0.62 is empty, not checked.
ldconfig: File /lib64/libzzipwrap-0.so.13 is empty, not checked.
ldconfig: File /lib64/libzzipwrap-0.so.13.0.62 is empty, not checked.

对于这种特征的报错,只需要重新安装相应包即可。

经搜索,以上文件均与属于zziplib这个包。

运行:


yum reinstall zziplib

再运行ldconfig输出为空,报错消失。

参考:https://pkgs.org/centos-6/nux-dextop-i386/zziplib-devel-0.13.62-5.el6.nux.i686.rpm
参考:http://www.unix.com/unix-for-advanced-and-expert-users/182811-sbin-ldconfig-file-usr-lib-libquazip-so-1-0-0-empty-not-checked
参考:https://www.centos.org/forums/viewtopic.php?t=55823