I have used Mathematica 9 for long time. Recently I have upgraded my operating system to Ubuntu 18.04 and tried to reinstall Mathematica 9. It did not give any error while installing. However when i try to open Mathematica to complete registration, it give the output
/usr/local/Wolfram/Mathematica/9.0/SystemFiles/FrontEnd/Binaries/Linux-x86-64/Mathematica: /usr/local/Wolfram/Mathematica/9.0/SystemFiles/Libraries/Linux-x86-64/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)
I don't understand what is wrong, as the same machine with Ubuntu 17.04 it installed perfectly and never gave a problem. Any suggestions?