直接安装即可:
sudo dnf install libpng12
[zxl@fedora myBase7]$ ./myBase.run
/D/Softwares-Linux/myBase7/./myBase
/D/Softwares-Linux/myBase7/./myBase: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
[zxl@fedora myBase7]$ sudo dnf install libpng12
Copr repo for PyCharm owned by phracek 1.9 kB/s | 3.3 kB 00:01
Docker CE Stable - x86_64 38 kB/s | 3.5 kB 00:00
Docker CE Stable - x86_64 31 kB/s | 6.8 kB 00:00
Fedora 35 - x86_64 - Updates - aliyun 123 kB/s | 8.1 kB 00:00
Fedora 35 - x86_64 - Updates - aliyun 569 kB/s | 2.7 MB 00:04
Fedora Modular 35 - x86_64 - Updates 7.1 kB/s | 5.9 kB 00:00
Fedora Modular 35 - x86_64 - Updates 290 kB/s | 333 kB 00:01
google-chrome 13 kB/s | 1.3 kB 00:00
google-chrome 19 kB/s | 3.5 kB 00:00
google-chrome-unstable 7.3 kB/s | 1.3 kB 00:00
google-chrome-unstable 9.8 kB/s | 3.5 kB 00:00
RPM Fusion for Fedora 35 - Nonfree - NVIDIA Driver 8.1 kB/s | 5.8 kB 00:00
RPM Fusion for Fedora 35 - Nonfree - Steam 7.1 kB/s | 5.6 kB 00:00
依赖关系解决。
==================================================================================================================
软件包 架构 版本 仓库 大小
==================================================================================================================
安装:
libpng12 x86_64 1.2.57-14.fc35 fedora 153 k
事务概要
==================================================================================================================
安装 1 软件包
总下载:153 k
安装大小:448 k
确定吗?[y/N]: y