注意升级前一定要备份系统,升级可能会造成系统崩。
先升级一下系统
yum update -y
安装支持组件
yum install make gcc -y
下载解压并安装
wget http://source.loshub.com/linux/glibc/glibc-2.24.tar.gz
tar zxvf glibc-2.24.tar.gz
mkdir -p glibc-2.24/build
cd glibc-2.24/build
../configure --prefix=/usr
make -j$(nproc --all)
make install
cd -
rm -rf glibc-2.24 glibc-2.24.tar.gz
测试版本
ldd --version
显示
[root@localhost ~]#ldd --version
ldd (GNU libc) 2.24
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.d
成功

分类: centos 标签: 暂无标签

评论

暂无评论数据

暂无评论数据

目录