安装iamp模块,编译报错configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
yum install libc-client-devel
cd /root/lnmp1.0-full/php-5.3.17/ext/imap
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos --with-imap-ssl
执行./configure --with-php-config=/usr/local/php/bin/php-config
后提示
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
环境lnmp最新版本
updatedb
locate libc-client
locate 找到libc-client.so 位置后用ln -s 命令做个软连接到/usr/lib/
ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.a
ln -s /usr/lib64/libkrb5.so /usr/lib/libkrb5.so
./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos --with-imap-ssl
make &&make install
编译通过!!
vi /usr/local/php/etc/php.ini
找到extension,在后面加一条:extension = "imap.so"
保存,重启 服务
最新文章
- MyEclipse配置Tomcat开发JavaWeb程序JSP以及Servlet
- 自定义easyui整数或者数字、字母或者下划线验证方法
- 【poj3263】 Tallest Cow
- Linux安装SmartSVN及破解
- nova分析(3)—— nova-api
- poj - 3723 Conscription(最大权森林)
- -bash: ./radar.sh: /bin/sh^M: bad interpreter: 没有那个文件或目录
- Wince 中的图形编程
- 2.5.4 使用popupWindow
- python -序列化
- 通过js引入当前所需要的js,css等
- Spring、整合Spring+JDBC
- php如何开启GD库
- 在Servlet(或者Filter,或者Listener)中使用spring的IOC容器
- xcode磁盘大清理
- 《JavaScript设计模式与开发实践》知识点笔记
- HTTP概念解析
- 自动生成业务库码表insert脚本
- [LOJ2310][APIO2017]斑斓之地——可持久化线段树
- Codeforces 811C Vladik and Memorable Trip (区间异或最大值) (线性DP)
热门文章
- error: ‘ostream_iterator’ was not declared in this scope
- Ubuntu下Cmake编译C++程序Helloworld
- 1 搭建K8s集群
- ZROI 19.08.03 DP入门
- java数据结构1--数组、排序和Arrays工具类
- Docker(2)--Centos7 上安装部署
- pyqt5--动画
- oracle基本语句(第五章、数据库逻辑存储结构管理)
- 【java】并发执行ExecutorService的sumbit返回值的顺序问题
- jdk java 环境变量配置