I tried to follow the various instructions for installing libpng12.so
which eventually led me to do the use the following command after downloading the deb file:
sudo gdebi libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
But, unfortunately, the installation of the deb leads to the errors below:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
PNG library - runtime
libpng is a library implementing an interface for reading and writing
PNG (Portable Network Graphics) format files.
.
This package contains the runtime library files needed to run software
using libpng.
Do you want to install the software package? [y/N]:y
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
c = findall("[(/\S+[])]", msg)[0].lower()
(Reading database ... 373964 files and directories currently installed.)
Preparing to unpack libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...
dpkg: error processing archive libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--install):
unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Errors were encountered while processing:
libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
Does anyone know why I get these errors? Thanks a lot.
libc-bin | 2.35-0ubuntu3 | kinetic | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
cf.libc-bin | 2.34-0ubuntu3.2 | impish-updates...
– guiverc May 19 '22 at 05:17