1.报错
/lib64/libz.so.1: version `ZLIB_1.2.9' not found
2.解决方案
升级zlib动态库
3.解决步骤
1.查看当前动态库版本 strings /lib64/libz.so.1 |grep "ZLIB*" ZLIB_1.2.0 ZLIB_1.2.0.2 ZLIB_1.2.0.8 ZLIB_1.2.2 ZLIB_1.2.2.3 ZLIB_1.2.2.4 ZLIB_1.2.3.3 ZLIB_1.2.3.4 ZLIB_1.2.3.5 ZLIB_1.2.5.1 ZLIB_1.2.5.2 发现最高版本只有1.2.5,没有1.2.9的。 2.下载对应的zlib包并编译 wget http://www.zlib.net/fossils/zlib-1.2.9.tar.gz tar xf zlib-1.2.9.tar.gz cd zlib-1.2.9/ ./configure make && make install 3.创建新的链接 cp libz.so.1.2.9 /usr/lib64/ cd /usr/lib64/ rm -f libz.so.1 ln -s libz.so.1.2.9 libz.so.1 4.确认新版本是否存在 strings /lib64/libz.so.1 |grep "ZLIB*" ZLIB_1.2.0 ZLIB_1.2.0.2 ZLIB_1.2.0.8 ZLIB_1.2.2 ZLIB_1.2.2.3 ZLIB_1.2.2.4 ZLIB_1.2.3.3 ZLIB_1.2.3.4 ZLIB_1.2.3.5 ZLIB_1.2.5.1 ZLIB_1.2.5.2 ZLIB_1.2.7.1 ZLIB_1.2.9 ZLIB_1.2.0 ZLIB_1.2.2 ZLIB_1.2.5.2 ZLIB_1.2.3.5 ZLIB_1.2.3.3 ZLIB_1.2.2.3 ZLIB_1.2.0.8 ZLIB_1.2.7.1 ZLIB_1.2.0.2 ZLIB_1.2.9 ZLIB_1.2.5.1 ZLIB_1.2.3.4 ZLIB_1.2.2.4