有两个错误。

1.undefined reference to ... @GLIBCXX_3.4.22

undefined reference to ... @GLIBCXX_3.4.22__皮皮_的博客-CSDN博客undefined reference to 'std::thread::_State::~_State()@GLIBCXX_3.4.22https://blog.csdn.net/m0_52304861/article/details/121770169chmod +777 *  给so个权限

export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH

2./lib64/libc.so.6: version `GLIBC_2.18' not found (required by /lib64/libstdc++.so.6)

彻底解决 "/lib64/libc.so.6: version `GLIBC_2.18' not found (required by /lib64/libstdc++.so.6)" 的问题 (正解) - 代码天地      写在前面       本文属于step by step类型,请务必注意环境,本文无法保证在其他linux发行版上的可行性,也无法保证在CentOS其他版本上     的可行性,如果不是CentOS7系统,本文升级办法仅供参考,请谨慎对待!!!     环境# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core)12 ...https://www.codetd.com/article/2258420直接升级glibc2.18即可

curl -O http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
tar zxf glibc-2.18.tar.gz 
cd glibc-2.18/
mkdir build
cd build/
sudo ln -s /usr/bin/_mv /usr/bin/mv
../configure --prefix=/usr
make -j2
sudo make install

3.E build: ImportError: libmvec.so.1: cannot open shared object file: No such file or directory

libmvec.so.1在glibc-2.28-164.el8.x86_64.rpm中,是软连接

rpm2cpio glibc-2.28-164.el8.x86_64.rpm | cpio -div

sudo ln -s libmvec-2.28.so libmvec.so.1

export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH

4.*** These critical programs are missing or too old: make   *** Check the INSTALL file for required versions.

make -v 查看make版本

更新make到最新版本4.3_Dan淡淡的心的博客-CSDN博客_"make:\"///\"已是最新"更新make到最新版本4.3当前环境更新步骤1. 下载make最新安装包2. 解压配置3. 编译安装4. 验证安装当前环境系统:Centos 7 x86_64make版本:3.8.2更新步骤1. 下载make最新安装包#到 http://ftp.gnu.org/pub/gnu/make/ 查找最新安装包wget http://ftp.gnu.org/pub/gnu/make/make-4.3.tar.gz2. 解压配置tar -zxvf make-4.3.tar.gzcd makehttps://blog.csdn.net/qq_41054313/article/details/119455667?spm=1001.2014.3001.5502

Logo

更多推荐