部署过程中遇到的各种操蛋问题不少,记录在此
在configure配置glib的时候,会有如下报错
[13:45:44]checking for LIBFFI... no
[13:45:44]configure: error: Package requirements (libffi >= 3.0.0) were not met:
[13:45:44]No package 'libffi' found
[13:45:44]Consider adjusting the PKG_CONFIG_PATH environment variable if you
[13:45:44]installed software in a non-standard prefix.
[13:45:44]Alternatively, you may set the environment variables LIBFFI_CFLAGS
[13:45:44]and LIBFFI_LIBS to avoid the need to call pkg-config.
[13:45:44]See the pkg-config man page for more details.
实际检查发现libffi已经安装,版本为3.0.5
采用配置PKG_CONFIG_PATH 的方法并无法解决该问题
解决方法为:
安装 libffi-devel
yum install libffi-devel
其他glib安装的问题,参考此文档
网友评论