glibc2.12升级至2.15

匿名 (未验证) 提交于 2019-12-02 21:59:42

1、操作系统版本

[root@localhost ~]# cat /etc/redhat-release  #CentOS release 6.9 (Final)

2、当前glibc版本

[root@localhost ~]# /lib64/libc.so.6  GNU C Library stable release version 2.12, by Roland McGrath et al.

3、安装glibc2.15

[root@localhost ~]# wget http://ftp.gnu.org/gnu/glibc/glibc-2.15.tar.gz [root@localhost ~]# tar zxf glibc-2.15.tar.gz [root@localhost ~]# ./glibc-2.15/configure  --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin [root@localhost ~]# make [root@localhost ~]# make install  PS:如果进入glibc源码目录再执行./configure会报错

4、查看安装之后的版本

[root@localhost ~]# /lib64/libc.so.6  GNU C Library stable release version 2.15, by Roland McGrath et al. [root@localhost ~]# 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_2.13 GLIBC_2.14 GLIBC_2.15 GLIBC_PRIVATE

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!