Forum Discussion
denormal
New Contributor
7 years agoDebian user here. Close to Ubuntu so hopefully this will work for you.
I'm sure you've long since found an answer but one solution is to build libpng12 from source and install. On libpng's webpage you can find a link to the source. Look for the tarball of libpng12 (i used libpng-1.2.59.tar.gz), extract and in the directory you extracted to run...
./configure
make
sudo make installThen finally to update the links to the new shared libraries.
sudo ldconfigI didn't get any conflicts from having different versions of libpng installed but if you do you may need to remove your current version before installing.
Links
http://www.libpng.org/pub/png/libpng.html
https://sourceforge.net/projects/libpng/files/libpng12/1.2.59/