1. yum -y install libpng&yum -y install libpng-devel安装即可