It seems original RPI Wheezy comes with libpng12 ? I successfully built libpng-1.5.13, but fail to install it with the following error message:
(Reading database ... 76415 files and directories currently installed.)
Unpacking libpng (from .../libpng_1.5.13-1_armel.deb) ...
dpkg: error processing /home/pi/Download/ffmpeg/libpng-1.5.13/build/libpng_1.5.13-1_armel.deb (--install):
trying to overwrite '/usr/share/man/man5/png.5.gz', which is also in package libpng12-dev 1.2.49-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
locale: Cannot set LC_ALL to default locale: No such file or directory
Errors were encountered while processing:
Can anybody help to explain how to solve the problem?