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

  • Post author:
  • Post category:linux

现象

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

在这里插入图片描述


版权声明:本文为qq_23314263原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。