错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法

简介: 错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法

整一个说明是一个 python 中 lxml 包需要用到 GLIBC_2.14 依赖,但是发现不存在有,因此出现改报错。

ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /xxx/xxx/xxx/lib/python3.6/site-packages/lxml/etree.cpython-36m-x86_64-linux-gnu.so)

编译安装

wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz 
wget http://ftp.gnu.org/gnu/glibc/glibc-ports-2.14.tar.gz 
tar -xvf  glibc-2.14.tar.gz 
tar -xvf  glibc-ports-2.14.tar.gz
mv glibc-ports-2.14 glibc-2.14/ports
mkdir glibc-2.14/build
cd glibc-2.14/build 
../configure  --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
# 这部超级慢,耐心等待
make
make install
#查看版本
ldd --version
目录
相关文章
|
3月前
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
117 0
|
Python
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
511 0
|
Linux C++
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found问题解决方法
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found问题解决方法
1983 0
|
Python
ld: library not found for -lssl
ld: library not found for -lssl
77 0
|
编译器 Linux
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found
1268 0
|
计算机视觉
谨慎试之:libopencv_core.so.3.4, needed by //usr/local/lib/libopencv_imgcodecs.so
谨慎试之:libopencv_core.so.3.4, needed by //usr/local/lib/libopencv_imgcodecs.so
352 0
|
编译器 测试技术 C语言
Glibc version `GLIBC_2.17' not found问题解决办法
Glibc version `GLIBC_2.17' not found问题解决办法
658 0
关于问题ld:library not found for -lXXX的错误
关于问题ld:library not found for -lXXX的错误
770 0
Error: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8‘ not found (required by /usr/anaconda3/bin/)
Error: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8‘ not found (required by /usr/anaconda3/bin/)
581 0
Error: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8‘ not found (required by /usr/anaconda3/bin/)