问题描述
我是Linux的新手,并且在Ubuntu 16.04上使用Eclipse Oxygen.2版本4.7.2
I'm new to linux and using Eclipse Oxygen.2 Release 4.7.2 on Ubuntu 16.04
我遇到了错误:
/usr/lib/opencv-2.4.13.5/build/lib/libopencv_java2413.so:/lib/x86_64-linux-gnu/libz.so.1:找不到版本'ZLIB_1.2.9'(/home必需) /mel3/anaconda/lib/libpng16.so.16)
/usr/lib/opencv-2.4.13.5/build/lib/libopencv_java2413.so: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /home/mel3/anaconda/lib/libpng16.so.16)
我已尝试升级和重新加载,但不确定是否存在路径错误或发生了什么情况.非常感谢您的帮助
I've tried upgrading and reloading and not sure if there is a path error or what going on. Help much appreciated
推荐答案
下载 Zlib 1.2.9然后运行这些命令
Download Zlib 1.2.9Then run those commands
tar -xvf ~/Downloads/zlib-1.2.9.tar.gz
cd zlib-1.2.9
sudo -s
./configure; make; make install
cd /lib/x86_64-linux-gnu
ln -s -f /usr/local/lib/libz.so.1.2.9/lib libz.so.1
cd ~
rm -rf zlib-1.2.9
有关详细信息,请访问此链接
for details visit this link
这篇关于/lib/x86_64-linux-gnu/libz.so.1:未找到版本"ZLIB_1.2.9"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!