I'm new to linux and using Eclipse Oxygen.2 Release 4.7.2 on Ubuntu 16.04
I'm getting the error:
/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
The accepted answer didn't work for me, but following here did:
https://ubuntuforums.org/showthread.php?t=2375927
Repeating the answer:
cd /your_software/../lib/ (the directory containing libz.so.1)
mv libz.so.1 libz.so.1.old
ln -s /lib/x86_64-linux-gnu/libz.so.1
Download Zlib 1.2.9 Then 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With