Issue
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
Solution
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
Answered By - Kamrul hassan
Answer Checked By - Pedro (JavaFixing Volunteer)