您的位置:首页 > 其它

解决configure: error: Please reinstall the libcurl distribution

2012-02-09 19:13 399 查看
今天配置一台server的php支持curl的时候, 出现如下报错

checking for cURL in default path... not found

configure: error: Please reinstall the libcurl distribution -

easy.h should be in /include/curl/

其实就是curl的dev包没有安装, 解决方案:

终端下

# yum -y install curl-devel

可以

configure: error: Cannot find ldap.h

编译 php

configure: error: Cannot find ldap.h

安装 :

yum install openldap

yum install openldap-devel
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐