- 论坛徽章:
- 0
|
centos5.5 最近安装一个软件需要 glib2 高版本的 yum没有高版本的 只有源码安装了
一直提示没找到 libffi
我又源码安装了 libffi 3.0 到 /usr/local/libffi中
但是安装glib2的时候还是找不到 一直提示
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.
我设置了export LIBFFI_CFLAGS=/usr/local/libffi/lib/libffi-3.0.10/include/
export LIBFFI_LIBS=/usr/local/libffi/lib/
也不行 啊 那个高手帮忙看看啥问题啊 |
|