在centos7上安装liteide后,打开报:./liteide: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
其解决方法为:
//查看所有的libpng包
#yum list |grep libpng
输出信息为:
libpng.x86_64 2:1.5.13-5.el7 @anaconda
libpng12.x86_64 1.2.50-6.el7 @base
libpng.i686 2:1.5.13-5.el7 base
libpng-devel.i686 2:1.5.13-5.el7 base
libpng-devel.x86_64 2:1.5.13-5.el7 base
libpng-static.i686 2:1.5.13-5.el7 base
libpng-static.x86_64 2:1.5.13-5.el7 base
libpng12.i686 1.2.50-6.el7 base
libpng12-devel.i686 1.2.50-6.el7 base
libpng12-devel.x86_64 1.2.50-6.el7 base
//安装libpng12
#yum install libpng12
有疑问加站长微信联系(非本文作者)