libpng16.so.16 not found - how to get it?

Solution 1:

Try installing the libpng-libary Version 16:

sudo apt-get install libpng16-16

Solution 2:

I have found the answer to this issue, there is a source repo on Sourceforge: https://sourceforge.net/projects/libpng/?source=directory The trick when you install the shared object is when you have it installed, you have to run

ldconfig

before the system sees it.

Solution 3:

You may download the library manually from the link https://sourceforge.net/projects/libpng/?source=directory

It will download a file something like "libpng-1.6.32.tar.xz"

Simply extract the file and find a INSTALL file for instructions to install the library.

./configure
make check
make install

Then you need to run

ldconfig

Hope this will work!