编译安装fontconfig时候报错configure: error: Cannot find usable expat library. This could mean that your version is too old.
首先分析,说expat错误,我就yum -y install expat,提示已经安装,那我就直接yum -y install expat*
发现
Running Transaction
Installing : expat-devel-2.0.1-11.el6_2.x86_64 1/1
Verifying : expat-devel-2.0.1-11.el6_2.x86_64 1/1
Installed:
expat-devel.x86_64 0:2.0.1-11.el6_2
Complete!
原来是缺少这个包。安装完后再编译configure 就ok 了
转载于:https://blog.51cto.com/sanxiayouren/1172887