免费注册 查看新帖 |

Chinaunix

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

[Mail] 求助:安装Courier-authlib报mysqlclient.so错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-20 14:53 |只看该作者 |倒序浏览
configure: error: --with-authmysql specified but no mysqlclient.so

我装其他的东西,有的时候也报关于mysqlclient.so的错误.

我的mysql装的是5.0.27,是tar.gz的.

安装的时候是./configure --prefix=/usr/local/mysql --with-charset=gbk  --with-extra-charsets=utf8

Courier-authlib安装的时候是,
# ./configure \
--with-redhat \
--with-authmysql=yes \
--with-mailuser=vmail --with-mailgroup=vmail \
--with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql/


用系统自带的mysql就不出任何问题.

请各位大侠帮小弟看看啊.

[ 本帖最后由 pstree 于 2007-7-21 21:05 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-07-21 21:05 |只看该作者
谢谢大家了!!!!救命啊!!!

论坛徽章:
0
3 [报告]
发表于 2007-07-31 09:49 |只看该作者
救命啊!!!

论坛徽章:
0
4 [报告]
发表于 2007-07-31 10:00 |只看该作者
I get the error of:

configure: error: –with-authmysql specified but no mysqlclient.so

I have searched my entire hard drive, and this file does not exist. Was it part of a package that I should have already?
Thanks for your help.

OS X 10.4.4

Richard5: Chris had multiple installations of MySQL on the same machine. If you have the same problem you can use the command mysql_config to find out which paths are used for the library and the include files.

google上的

把原来的mysql删了

论坛徽章:
0
5 [报告]
发表于 2007-07-31 10:13 |只看该作者
可以在 /usr/lib 中做符号连接到 /usr/local/mysql/lib 吧?试试看,自己安装的 mysql 可能不在 configure 的搜索路径中

论坛徽章:
0
6 [报告]
发表于 2007-07-31 11:08 |只看该作者
可是我装完mysql以后,搜索整个机器,都没有mysqlclient.so这个文件啊

论坛徽章:
0
7 [报告]
发表于 2007-11-09 12:15 |只看该作者

回复 #6 pstree 的帖子

configure 加上路径 --with-authmysql=/usr/local/mysql/lib/mysql  


libmysqlclient.so所在位置

[ 本帖最后由 gracet3 于 2007-11-9 12:48 编辑 ]

论坛徽章:
0
8 [报告]
发表于 2009-03-25 14:56 |只看该作者

哈哈找到解决办法了

谢谢楼上,只是做了
--with-authmysql=/usr/local/mysql/lib/mysql   
就ok了


不过还有个问题
--with-authmysqlrc=/etc/authmysqlrc
--with-authdaemonrc=/etc/authdaemonrc
找不到authmysqlrc   和 authdaemonrc

论坛徽章:
0
9 [报告]
发表于 2009-03-25 15:06 |只看该作者
原帖由 zhai_liang2046 于 2009-3-25 14:56 发表
谢谢楼上,只是做了
--with-authmysql=/usr/local/mysql/lib/mysql   
就ok了


不过还有个问题
--with-authmysqlrc=/etc/authmysqlrc
--with-authdaemonrc=/etc/authdaemonrc
找不到authmysqlrc   和  ...


make install-configure

论坛徽章:
0
10 [报告]
发表于 2011-11-13 02:28 |只看该作者
但是只有authdaemonrc 没有authmysqlrc 该怎么处理
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP