Centos7 升级glibc到2.33
作者:互联网
Centos7 升级glibc到2.33
下载安装包
wget https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.xz
解决环境依赖问题
升级make4.2
安装python3
编译 安装
tar -Jxvf glibc-2.33.tar.xz
mkdir glibc-2.33/build
cd glibc-2.33/build
LD_LIBRARY_PATH=''
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=x86_64-redhat-linux --enable-kernel=3.10.0 --without-gd --disable-profile --with-selinux
make -j
sed -i '128i\ && $name ne "nss_test2"' ../scripts/test-installation.pl
make install
make -j28 localedata/install-locales
service crond restart
检查
[root@localhost ~]# ldd --version
ldd (GNU libc) 2.33
strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX
标签:2.33,tar,--,glibc,Centos7,usr,build 来源: https://blog.csdn.net/niaooer/article/details/121384798