CentOS 6.x系统升级glibc库至2.15版本的快速解决办法

Posted wyjnb

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS 6.x系统升级glibc库至2.15版本的快速解决办法相关的知识,希望对你有一定的参考价值。

1、先确保相关软件包已经安装
yum install -y glibc glibc-common glibc-devel glibc-headers glibc-static glibc-utils

2、下载升级所需软件包
下载地址:http://ftp.redsleeve.org/pub/steam/

wget http://ftp.redsleeve.org/pub/steam/glibc-2.15-60.el6.i686.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-devel-2.15-60.el6.i686.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-utils-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-common-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-static-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-static-2.15-60.el6.i686.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-devel-2.15-60.el6.x86_64.rpm 
wget http://ftp.redsleeve.org/pub/steam/glibc-headers-2.15-60.el6.x86_64.rpm 

3、升级
[[email protected]_110_15_centos glibc]# rpm -Uvh *.rpm warning: glibc-2.15-60.el6.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID ea675ea0: NOKEY Preparing... ########################################### [100%] 1:glibc-common ########################################### [ 11%] /usr/sbin/build-locale-archive: /lib64/libc.so.6: version `GLIBC_2.14‘ not found (required by /usr/sbin/build-locale-archive) /usr/sbin/build-locale-archive: /lib64/libc.so.6: version `GLIBC_2.14‘ not found (required by /usr/sbin/build-locale-archive) 2:glibc ########################################### [ 22%] 3:glibc-headers ########################################### [ 33%] 4:glibc-devel ########################################### [ 44%] 5:glibc-utils ########################################### [ 56%] 6:glibc warning: /etc/localtime created as /etc/localtime.rpmnew warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew warning: /etc/rpc created as /etc/rpc.rpmnew warning: /usr/lib/gconv/gconv-modules created as /usr/lib/gconv/gconv-modules.rpmnew ########################################### [ 67%] 7:glibc-devel ########################################### [ 78%] 8:glibc-static ########################################### [ 89%] 9:glibc-static ########################################### [100%]

4、验证升级结果

[[email protected]_110_15_centos lib64]# strings libc.so.6 |grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_PRIVATE

等几分钟之后即可


























以上是关于CentOS 6.x系统升级glibc库至2.15版本的快速解决办法的主要内容,如果未能解决你的问题,请参考以下文章

centos6.5安装wps提示缺libc.so.6(GLIBC_2.15)(64bit),怎办?

centos 升级glibc-2.17

tensorflow在centos系统问题

centos升级glibc动态库

centos7.5升级glibc-2.18

分享Centos6.5升级glibc过程