免费注册 查看新帖 |

Chinaunix

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

[Mail] postfix 安装courier-authlib-0.61.0.tar.bz2 不能生成 /etc/authmysqlrc.dist [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-19 09:01 |只看该作者 |倒序浏览
我的mysql的安装是:
[root @test root]# groupadd  mysql
[root @test root]# useradd -g mysql mysql
[root @test root]# cp mysql-5.1.29-rc-linux-i686-glibc23.tar.gz /usr/local
[root @test root]# cd /usr/local
[root @test local]#tar xvzf mysql-5.1.29-rc-linux-i686-glibc23.tar.gz
[root @test local]#ln -s mysql-5.1.29-rc-linux-i686-glibc23 mysql
[root @test local]# mkdir -p /var/lib/mysql
[root @test local]# chown -R mysql:mysql /var/lib/mysql
[root @test local]#./script/mysql_install_db  —user=mysql &
[root @test local]#chown -R root .
[root @test local]#chown -R mysql:mysql data
[root @test local]#chgrp -R mysql .
[root @test local]#/usr/local/mysql/bin/mysqld_safe —user= mysql &
在安装courier-authlib-0.61.0.tar.bz2时
[root @ test root] # tar jxvf courier-authlib-0.61.0.tar.bz2
[root @ test root] #  cd tar jxvf courier-authlib-0.61.0
[root @ test courier-authlib-0.61.0] # [root@localhost courier-authlib-0.61.0]# ./configure --prefix=/usr/local/courier-authlib --sysconfdir=/etc --without-authpam --without-authldap --without-authpwd --without-authshadow --without-authvchkpw --without-authpgsql --with-authmysql --with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql --with-redhat --with-authmysqlrc=/etc/authmysqlrc --with-authdaemonrc=/etc/authdaemonrc CFLAGS="-march=i686 -O2 -fexpensive-optimizations" CXXFLAGS="-march=i686 -O2 -fexpensive-optimizations"
出现错误:configure: error: --with-authmysql specified but no mysqlclient.so
然后我把--with-authmysql=/usr/local/mysql/lib就可编译成功,但就是没有authmysqlrc.dist文件
我是新手,希望能得到高手,大侠们的指导。

[ 本帖最后由 shulei521 于 2008-11-20 16:57 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-11-19 09:03 |只看该作者
在安装mysql时已经执行了,#echo "/usr/local/mysql/lib" >> /etc/ld.so.conf
                                       #ldconfig

论坛徽章:
0
3 [报告]
发表于 2009-04-06 15:09 |只看该作者
我也碰到这个问题,不止楼主是如何解决的,能否告知!!!

论坛徽章:
0
4 [报告]
发表于 2012-02-05 00:28 |只看该作者
本帖最后由 kenluoye 于 2012-02-05 00:30 编辑

生成不了文件,你试试把mysql的so文件做一下链接到/usr/lib目录下,一般configure后可以看到makefile里有没有把authmysqlrc.dist这个文件的注悉去了。如果去了就会生成authmysqlrc.dist.再make install-configure后就会生成一个authmysqlrc了。对了,做了链接后最好ldconfig一下.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP