- 论坛徽章:
- 0
|
编译安装courier-authlib-0.58, 启动,maillog 报错如下
Jul 9 16:29:24 localhost authdaemond: modules="authmysql", daemons=5
Jul 9 16:29:24 localhost authdaemond: Installing libauthmysql
Jul 9 16:29:24 localhost authdaemond: libauthmysql.so: cannot open shared object file: No such file or directory
在网上找了找, 有人说要装courier-authlib-mysql, 但是没有源码包, 只有rpm等
知道的请说说, 谢谢先
安装时的配置, 如下
#./configure
--without-authuserdb \
--without-authpam \
--without-authldap \
--without-authpwd \
--without-authshadow \
--without-authvchkpw \
--without-authpgsql \
--without-authcustom \
--with-mailuser=vmail --with-mailgroup=vmail \
--with-authmysql=/usr/local/mysql/lib/mysql/ \
--with-mysql-libs=/usr/local/mysql/lib/mysql/ \
--with-mysql-includes=/usr/local/mysql/include/mysql/ \
--with-redhat \
--with-authmysql=/usr/local/etc/authlib/authmysqlrc
*******************************************************************************
发现根本原因是RH4上原有的mysql_config和自己编译的有冲突, 如下操作
rm /usr/bin/mysql_config
ln -s /usr/local/mysql/bin/mysql_config /usr/bin/mysql_config
重新编译, ./configure ..... , make, make install, make install-configure
Jul 10 11:31:32 localhost authdaemond: modules="authmysql", daemons=5
Jul 10 11:31:32 localhost authdaemond: Installing libauthmysql
Jul 10 11:31:32 localhost authdaemond: Installation complete: authmysql
成功
[ 本帖最后由 jiarong.lu 于 2008-7-10 11:38 编辑 ] |
|