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了。


你可能感兴趣的:(default,Standard,receive)