Bootstrap

ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29‘ not found

3.一、编译安装make  以make4.2 2.2.1为例

1.下载make

wget https://ftp.gnu.org/gnu/make/make-4.2.tar.gz

2.解压make4.2安装包

tar -zxvf make-4.2.tar.gz && cd make-4.2

3.编译安装make-4.2

./configure --prefix=/usr/local/make4.2
make && make install

4.创建软连接

ln -s -f /usr/local/make4.2/bin/make  /usr/bin/make

二、下载并安装GLIBC 2.29

1.下载GLIBC 2.29

wget http://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.gz

2.解压 GLIBC 2.29

tar xzvf glibc-2.29.tar.gz

 3.编译安装

cd glibc-2.29
mkdir build
cd build
../configure --prefix=/usr/local/glibc-2.29 --disable-sanity-checks

make -j4
sudo make install

4.修改软链接

​cd /lib/x86_64-linux-gnu
ln -s /usr/local/glibc-2.29/lib/libm-2.29.so libm.so.6

//会报错 ln: failed to create symbolic link ‘libm.so.6’: File exists
//此时需要强连


sudo ln -sf /usr/local/glibc-2.29/lib/libm-2.29.so libm.so.6

​

;