I've faced this issue in the earlier Ubuntu's versions and was able to install
libpng12.so.0 without any problem.
But in the latest Ubuntu 19.04 I cannot install it...
What I have tried:
Download and installed it locally
wget -q -O /tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb && dpkg -i /tmp/libpng12.deb && rm /tmp/libpng12.deb
Created a symlink
ln -s /usr/lib/x86_64-linux-gnu/libpng16.so.16 /usr/lib/x86_64-linux-gnu/libpng12.so.0
Added new repository and installed via
echo “deb http://mirrors.kernel.org/ubuntu/ xenial main” >> /etc/apt/sources.list apt update apt install libpng12-0
All these workarounds don't work.
Could someone help me to solve this issue?