免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: marion
打印 上一主题 下一主题

[Mail] RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建) [复制链接]

论坛徽章:
0
481 [报告]
发表于 2008-01-10 16:42 |只看该作者
感谢楼主分享,十分感谢

论坛徽章:
0
482 [报告]
发表于 2008-01-13 15:52 |只看该作者

回复 #480 rabe 的帖子

user unknown. Command output: Invalid user specified.
rabe 该用户已被删除
483 [报告]
发表于 2008-01-14 15:21 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
484 [报告]
发表于 2008-01-14 17:54 |只看该作者

按照楼主的文档,执行到这步报错了。请帮看什么原因?

[root@mail postfix-2.4.6]# make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/local/sasl2/include/sasl -I/usr/local/BerkeleyDB/include -DUSE_TLS -I/usr/local/ssl/include/openssl''AUXLIBS=-L/usr/local/mysql/lib/m
ysql -lmysqlclient -lz -lm -L/usr/local/sasl2/lib -lsasl2 -L/usr/local/BerkeleyDB/lib -L/usr/local/ssl/lib -lssl -lcrypto'
make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
No <db.h> include file found.
Install the appropriate db*-devel package first.
See the RELEASE_NOTES file for more information.
make: *** [Makefiles] Error 1
make: *** [makefiles] Error 2

论坛徽章:
0
485 [报告]
发表于 2008-01-16 10:00 |只看该作者

回复 #484 falalala 的帖子

不好意思,该问题找到了。是db.h 没做。

论坛徽章:
0
486 [报告]
发表于 2008-01-16 13:14 |只看该作者

configure courier-authlib-0.59.3时报错如下,请问如何解决?

configure  courier-authlib-0.59.3时报错如下,请问如何解决?
configure: error: --with-authmysql specified but no mysqlclient.so

论坛徽章:
0
487 [报告]
发表于 2008-01-16 14:34 |只看该作者

回复 #486 falalala 的帖子

前面的帖子中多有讨论,帖子中也有相应的说明。
你可以试试以下方法
#echo "/usr/local/mysql/lib/mysql" >>/etc/ld.so.conf
#ldconfig  -v

如果此步以后还不行,则进行下面的步骤
#ln -sv /usr/local/mysql/lib/mysql  /usr/local/lib

论坛徽章:
0
488 [报告]
发表于 2008-01-16 14:47 |只看该作者

回复 #487 marion 的帖子

谢谢marion 及时地回复。
按照#ln -sv /usr/local/mysql/lib/mysql  /usr/local/lib 做了一遍还是不行。请问还有可能是哪里的问题吗?

论坛徽章:
0
489 [报告]
发表于 2008-01-16 15:44 |只看该作者

回复 #487 marion 的帖子

我检查了我运行的
#echo "/usr/local/mysql/lib/mysql" >>/etc/ld.so.conf
#ldconfig  -v
这两条命令,应该是这个命令没有生效,这个问题已经脱离了postfix,但还是希望marion能够指点一下
[root@mail lib]# ldconfig -v |grep mysql
ldconfig: Path `/usr/lib/mysql' given more than once
ldconfig: Can't stat /usr/local/mysql/lib/mysql:: No such file or directory
ldconfig: Can't stat libdbug.a: No such file or directory
ldconfig: Can't stat libheap.a: No such file or directory
ldconfig: Can't stat libmyisam.a: No such file or directory
ldconfig: Can't stat libmyisammrg.a: No such file or directory
ldconfig: Can't stat libmysqlclient.a: No such file or directory
ldconfig: Can't stat libmysqlclient.la: No such file or directory
ldconfig: Can't stat libmysqlclient_r.a: No such file or directory
ldconfig: Can't stat libmysqlclient_r.la: No such file or directory
ldconfig: Can't stat libmysqlclient_r.so: No such file or directory
ldconfig: Can't stat libmysqlclient_r.so.15: No such file or directory
ldconfig: Can't stat libmysqlclient_r.so.15.0.0: No such file or directory
ldconfig: Can't stat libmysqlclient.so: No such file or directory
ldconfig: Can't stat libmysqlclient.so.15: No such file or directory
ldconfig: Can't stat libmysqlclient.so.15.0.0: No such file or directory
ldconfig: Can't stat libmystrings.a: No such file or directory
ldconfig: Can't stat libmysys.a: No such file or directory
ldconfig: Can't stat libvio.a: No such file or directory
/usr/lib/mysql:
        libmysqlclient.so.14 -> libmysqlclient.so.14.0.0
        libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0
        libmysqlclient.so.10 -> libmysqlclient.so.10.0.0
        libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0
/usr/local/mysql/lib/mysql:
        libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
        libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
还有,我发现在/usr/lib下面原来是存在一个mysql目录,不知是否有影响。
该怎么解决这个问题呢?

论坛徽章:
0
490 [报告]
发表于 2008-01-16 16:45 |只看该作者

回复 #489 falalala 的帖子

问题解决了,解决办法就是删除原有rpm包mysql
然后执行
#echo "/usr/local/mysql/lib/mysql" >>/etc/ld.so.conf
#ldconfig  -v
总之就是库文件链接问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP