免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1154 | 回复: 1
打印 上一主题 下一主题

[FTP] pure-ftpd 1.07a --with-mysql 的问编译问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-03-04 11:52 |只看该作者 |倒序浏览
出现如下错误
mysql 4.0   rpm  安装的   mysql-share  也安装了  这个说明也照办
------------------------
* Compilation with MySQL.

->; I can't compile with MySQL. ./configure says that MySQL libraries aren't
properly installed.

The libmysqlclient.so file should be in a path known by your dynamic linker.
For instance, on a GNU/Linux system, add the path to libmysqlclient.so file
(only the path, not the file itself) to /etc/ld.so.conf . Then, run
'ldconfig' .


-----------------------
但就是不参成功编译?    还用按照  README.Virtual-Users  添加的 用户也不能登陆说密码错误  
-----------------

Login              : pureftp
Password           : $1$s6VW0bs0$q2Nvjc5qL4bWc4sp1NZYz1
UID                : 505 (ftpuser)
GID                : 506 (ftpgroup)
Directory          : /home/ftpusers/joes/./
Full name          :
Download bandwidth : 0 Kb (unlimited)
Upload   bandwidth : 0 Kb (unlimited)
Max files          : 0 (unlimited)
Max size           : 0 Mb (unlimited)
Ratio              : 0:0 (unlimited:unlimited)
Allowed local  IPs :
Denied  local  IPs :
Allowed client IPs :
Denied  client IPs :
Time restrictions  : 0000-0000 (unlimited)
Max sim sessions   : 0 (unlimited)

---------------

checking for mysql_init in -lmysqlclient... no
configure: error: libmysqlclient is needed for MySQL support

论坛徽章:
0
2 [报告]
发表于 2004-03-15 10:07 |只看该作者

pure-ftpd 1.07a --with-mysql 的问编译问题

安装mysql时候需要安装以下4个程序,不能仅仅装客户端工具,否则编译时候是找不到 libmysqlclient的。

mysql-client-xx
mysql-server-xx
mysql-share-xx
mysql-devel-xx

我也是试了好几次才知道的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP