加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

百胜“yum”分段错误

发布时间:2020-12-15 18:35:04 所属栏目:安全 来源:网络整理
导读:在centos服务器(2.6.18-194.el5PAE#1)中使用yum命令时,会抛出“Segmentation fault”. [root@server2 ~]# yum check-update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Segmentation fault [root@server2 ~]# yum installlv
在centos服务器(2.6.18-194.el5PAE#1)中使用yum命令时,会抛出“Segmentation fault”.

[root@server2 ~]# yum check-update

Loaded plugins: fastestmirror Loading
mirror speeds from cached hostfile

Segmentation fault

[root@server2 ~]# yum installlve-devel cmake

Loaded plugins:
fastestmirror Loading mirror speeds
from cached hostfile Segmentation fault

[root@server2 ~]# yum update

Loaded plugins: fastestmirror Loading

mirror speeds from cached hostfile

Segmentation fault

我怎么解决这个问题?

问题是从源代码升级zlib,这是一个影响所有RHEL / CentOS / CL安装的问题:

http://bugs.centos.org/view.php?id=4702&nbn=1

我删除了源zlib

/usr/local/lib/libz.so.1.2.5

并更改了链接

/usr/local/lib/libz.so ->
libz.so.1.2.5 lrwxrwxrwx 1 root root
13 Sep 24 2010
/usr/local/lib/libz.so.1 ->
libz.so.1.2.5

指向libz.so.1.2.3.这解决了这个问题.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读