centos 安装 libpng16.so.16 libpng12.so.0

1.首先执行安装

yum -y install libjpeglibjpeg-devel libpng libpng-devel freetype freetype-devel

2.libpng16安装

wget https://sourceforge.net/projects/libpng/files/libpng16/1.6.31/libpng-1.6.31.tar.gz

tar zxvf libpng-1.6.31.tar.gz

cd libpng-1.6.31

./configure –prefix=/usr/local/png

make && make install

3.libpng12安装

wget https://sourceforge.net/projects/libpng/files/libpng12/1.2.57/libpng-1.2.57.tar.gz

tar zxvf libpng-1.2.57.tar.gz

cd libpng-1.2.57

./configure –prefix=/usr/local/png

make && make install

发表评论

电子邮件地址不会被公开。 必填项已用*标注