解决configure: error: Package requirements (libffi >= 3.0.0) were not met:No package ‘libffi’ found

Linux piniu 2323浏览 0评论

./configure –prefix=/usr/local

configure: error: Package requirements (libffi >= 3.0.0) were not met:
No package ‘libffi’ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

解决办法: 
安装 libffi-devel
# yum install libffi-devel


发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • * 昵称:
  • * 邮箱: