当前位置: 首页 > 工具软件 > GNU texinfo > 使用案例 >

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

澹台文博
2023-12-01

安装GLIBC_2.29

需要将python升级至3.5以上,make升级至4.0以上

2.2安装make4.2 2.2.1下载安装包

下载make4.2安装包到/opt目录,安装目录是/usr/local/make4.2      

cd /opt

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

2.2.2解压make4.2安装包

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

2.2.3编译安装make-4.2

./configure --prefix=/usr/local/make4.2

make && make install

2.2.4创建软连接

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

——结束

下载

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

tar xzvf glibc-2.29.tar.gz

cd glibc-2.29

mkdir build

cd build

export LD_LIBARY_PATH=

sudo apt install texinfo

sudo apt-get install gawk

sudo apt install 

../configure --prefix=/usr/local/glibc

make -j8

make install

cd /lib/x86_64-linux-gnu
ln -s /usr/local/glibc/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/lib/libm-2.29.so libm.so.6

 类似资料: