标题: centos7安装glibc-2.29 [打印本页] 作者: linda 时间: 2024-1-16 17:45 标题: centos7安装glibc-2.29
安装依赖:
yum install -y bzip2 python3 bison
安装make
wget http://ftp.gnu.org/gnu/make/make-4.2.1.tar.bz2
tar -zxvf make-4.2.1.tar.bz2
cd make-4.2.1
./configure
make
sudo make install
sudo ln -s -f /usr/local/bin/make /usr/bin/make
安装glibc
wget http://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.gz
tar xvf glibc-2.29.tar.gz
cd glibc-2.29
mkdir build
cd build
../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin --enable-obsolete-nsl
make
vi ../scripts/test-installation.pl 128行左右 增加行 && $name ne "nss_test2" 忽略对nss_test2的检查(主流做法,据说不影响安装及使用)