zoukankan      html  css  js  c++  java
  • 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、升级
    [root@VM_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、验证升级结果

    [root@VM_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

    等几分钟之后即可

  • 相关阅读:
    char与unsigned char的区别
    C语言 —— sprintf()函数
    char *s 与 char s[ ]的区别
    打印不同对象的字节表示 ( 对int*强制转换成unsigned char*的理解 )
    洛谷P2242 公路维修问题(Road)
    洛谷P1209 [USACO1.3]修理牛棚 Barn Repair
    洛谷P1345 [USACO5.4]奶牛的电信Telecowmunication
    洛谷P2246 SAC#1
    Bzoj4300 绝世好题
    Uva1398 Meteor
  • 原文地址:https://www.cnblogs.com/wangyajunblog/p/9262986.html
Copyright © 2011-2022 走看看