png

Downloading and installing libpng from a distro

Ubuntu, Debian, Mint (apt-based systems)

sudo apt-get install libpng-dev

on an x86_64 Ubuntu system, this installs libpng version 1.2.x in

libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0

Fedora, RHEL, CentOS (yum-based systems)

sudo yum install libpng-devel

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow