解决liblzo2.so缺失

系统:CentOS5.8

提示错误: error while loading shared libraries: liblzo2.so.2: cannot open shared object file: No such file or directory


yum install lzo无效

yum search lzo找不到相关包

yum search lz也没有找到相关包


下载rpm包自己安装,以下页面提供了各种系统的liblzo2的rpm包,选择对应的下载,并安装

http://rpm.pbone.net/index.php3/stat/3/limit/5/srodzaj/1/dl/40/search/liblzo2.so.2/field[]/1/field[]/2


wget ftp5.gwdg.de/pub/opensuse/repositories/home:/dassit:/bacula/CentOS_CentOS-5/i386/lzo-2.04-1.1.i386.rpm

rpm -ivh lzo-2.04-1.1.i386.rpm


搞定!

转载于:https://www.cnblogs.com/idmask/p/4590997.html

你可能感兴趣的:(解决liblzo2.so缺失)