centos中更新glibc库文件到2.17

Posted fan-yuan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos中更新glibc库文件到2.17相关的知识,希望对你有一定的参考价值。

1 确保安装过gcc
yum install gcc

2 获取glibc相关版本
wget http://ftp.gnu.org/pub/gnu/glibc/glibc-2.17.tar.xz

3 解压创建目录
xz -d glibc-2.17.tar.xz
tar -xvf glibc-2.17.tar
cd glibc-2.17
mkdir build
cd build
4 编译
../configure –prefix=/usr –disable-profile –enable-add-ons –with-headers=/usr/include –with-binutils=/usr/bin

4 安装
make
make install

以上是关于centos中更新glibc库文件到2.17的主要内容,如果未能解决你的问题,请参考以下文章