2008年第四季度服务器例行升级-----(-)

又到季度服务器例行升级的时间。三台机器在升级当中出现问题

1.升级sendmail-8.14.3出现了 编译错误,提示:

cc -o sendmail   main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o      /usr/local/src/sendmail-8.14.3/obj.Linux.2.6.9-42.0.3.ELsmp.x86_64/libsmutil/libsmutil.a /usr/local/src/sendmail-8.14.3/obj.Linux.2.6.9-42.0.3.ELsmp.x86_64/libsm/libsm.a  -ldl 

domain.o(.text+0x16b): In function `getmxrr':

: undefined reference to `__res_search'

domain.o(.text+0x1fc): In function `getmxrr':

: undefined reference to `__dn_skipname'

domain.o(.text+0x4e0): In function `getmxrr':

: undefined reference to `__dn_expand'

domain.o(.text+0x58c): In function `getmxrr':

: undefined reference to `__dn_expand'

domain.o(.text+0x697): In function `getmxrr':

sm_resolve.o(.text+0x7f4): In function `dns_lookup_int':

: undefined reference to `__dn_expand'

collect2: ld returned 1 exit status

make[1]: *** [sendmail] Error 1

make[1]: Leaving directory `/usr/local/src/sendmail-8.14.3/obj.Linux.2.6.9-42.0.3.ELsmp.x86_64/sendmail'

Making all in:

/usr/local/src/sendmail-8.14.3/editmap

 

解决方法:sendmail没有找到解析,需要配置site.conf.m4文件定义解析库。

另外在解决这个问题只好发现既然没有自动编译 newdb 导致启动的时候access.db aliase.db错误,只好再手动指定db-4.3.25的目录,并加上-lpthread.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值