原载于:原文章%77w%77%2Ef%6F%72%61%73%70%2E%63n
安装php时,提示No package 'freetype2' found, 实际时缺少freetype:
安装过程出现错误如下:
configure: error: Package requirements (freetype2) were not met:
 
No package 'freetype2' found
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
 
解决方案:
yum install -y freetype-devel
 
yum 安装后即可解决。