pureftpd mysql 失败_redhat安装pure-ftpd+mysql时出现libmysqlclient错误的解决办法

redhat as 4 安装pure-ftpd,执行,/configure时使用了--with-mysql参数,出现如下错误:

checking whether you already have a standard MD5 implementation... no

checking whether you already have a standard SHA1 implementation... no

checking whether we are inside a Virtuozzo virtual host... no

checking default TCP send buffer size... 16384

checking default TCP receive buffer size... 87380

checking for floor in -lm... yes

checking for gzclose in -lz... yes

checking for mysql_init in -lmysqlclient... no

configure: error: libmysqlclient is needed for MySQL support

网上查了很多资料很都没有解决,只知道跟mysql有关,我的mysql是rpm安装的,试了N多次终于找到了解决办法,原因是c操作mysql数据库时

编译需要用到libmysqlclient库,手动指定也没有效果,解决办法是安装lampp工具中的mysql就OK了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值