错误:/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
128 0
|
6月前
|
Python
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
错误:/lib64/libc.so.6: version `GLIBC_2.14’ not found 解决办法
324 0
|
Linux
linux运行protoc出现错误 while loading shared libraries: libprotoc.so.19
linux运行protoc出现错误 while loading shared libraries: libprotoc.so.19
139 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问题解决方法
2071 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
1287 0
libtoolize: error: Please install GNU M4, or 'export M4=/path/to/gnu/m4'
libtoolize: error: Please install GNU M4, or 'export M4=/path/to/gnu/m4'
145 0
|
C语言
version GLIBC_2.28 not found
version GLIBC_2.28 not found
633 0
|
C语言
编译OpenJDK8:configure error /usr/lib64/ccache/gcc is a symbolic link to ccache
编译OpenJDK8:configure error /usr/lib64/ccache/gcc is a symbolic link to ccache
125 0
|
编译器 测试技术 C语言
Glibc version `GLIBC_2.17' not found问题解决办法
Glibc version `GLIBC_2.17' not found问题解决办法
665 0