升级GLIBC_2.14

参考:
    http://my.oschina.net/zhangxu0512/blog/262275
    http://blog.csdn.net/GraceLand525/article/details/47722891
1、查看版本glibc版本号:

    
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[root@localhost build] # strings /lib64/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_PRIVATE
 
2、glic下载:
     http://www.gnu.org/software/libc/  下载源代码。我下载的版本是2.14,链接地址是 http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz

3、glibc安装:
     [root@localhost ~] # tar xvf glibc-2.14.tar.gz
[root@localhost ~] # cd glibc-2.14
[root@localhost glibc-2.14] # mkdir build
[root@localhost glibc-2.14] # cd ./build
[root@localhost build] # ../configure --prefix=/opt/glibc-2.14
[root@localhost build] # make -j4
[root@localhost build] # make install

4、遇到的问题:
ld.so.conf文件缺少:
     cp /etc/ld.so.c* /opt/glibc-2.14/etc/ 
     ln -sf /opt/glibc-2.14/lib/libc-2.14.so /lib64/libc.so.6
  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值