xxx: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29‘ not found (required by xxx)

现象

xxx: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29’ not found (required by xxx)

解决方法

cd /lib/x86_64-linux-gnu/
//删除libm-2.31.so,libmvec-2.31.so
sudo rm -rf libm-2.31.so
sudo rm -rf libmvec-2.31.so

//查找libm-2.23.so,libmvec-2.23.so位置
locate libm-2.23.so
// /snap/core/14399/lib/i386-linux-gnu/libm-2.23.so
// /snap/core/14399/lib/x86_64-linux-gnu/libm-2.23.so
locate libmvec-2.23.so
// /snap/core/14399/lib/x86_64-linux-gnu/libmvec-2.23.so

//拷贝libm-2.23.so,libmvec-2.23.so
sudo cp /snap/core/14399/lib/i386-linux-gnu/libm-2.23.so /lib/x86_64-linux-gnu/
sudo cp  /snap/core/14399/lib/x86_64-linux-gnu/libmvec-2.23.so /lib/x86_64-linux-gnu/

//更新软链接
sudo ldconfig

xxx: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29‘ not found (required by xxx)_第1张图片

你可能感兴趣的:(经验分享,Ubuntu,linux,ubuntu)