aix 6.1安装apache错误,libintl.a(libintl.so.8) is needed by *****

在aix6.1下安装apache
# rpm -ivh httpd-2.2.22-1.aix6.1.ppc.rpm
error: failed dependencies:
        libexpat.a(libexpat.so.1) is needed by httpd-2.2.22-1
        libsqlite3.a(libsqlite3.so.0) is needed by httpd-2.2.22-1

结果需要其他的包,在http://www.bullfreeware.com/affichage.php?id=1538
下载全部的包,按照依赖关系一个一个的安装,结果最后安装到gettext-0.17-7.aix6.1.ppc.rpm的时候,却报出
error: failed dependencies:
        libiconv.a(libiconv.so.2) is needed by gettext-0.17-7
        libxlsmp.a(smprt.o) is needed by gettext-0.17-7
的错误,安装libiconv却报
libintl.a(libintl.so.8) is needed by ***
而libintl.a就是gettext包里的,这不成了死循环了么,谷歌半天之后发现只要加一个参数就可以搞定了。

# rpm -ivh gettext-0.17-7.aix6.1.ppc.rpm  --nodeps
/
gettext                     ##################################################
add libintl.so.1 (32bits) shared member to /opt/freeware/lib/libintl.a
add libintl.so.1 (64bits) shared member to  /opt/freeware/lib/libintl.a
/


# rpm -ivh  libiconv-1.13.1-3.aix6.1.ppc.rpm
libiconv                    ##################################################
add shr4.o shared members from /usr/lib/libiconv.a to  /opt/freeware/lib/libiconv.a
add shr.o shared members from /usr/lib/libiconv.a to  /opt/freeware/lib/libiconv.a
add shr4_64.o shared members from /usr/lib/libiconv.a to  /opt/freeware/lib/libiconv.a
/

加一个强制安装--nodeps的参数来安装gettext,后面的就可以正常安装了。

# rpm -ivh info-4.13-3.aix6.1.ppc.rpm
warning: /opt/freeware/info/dir created as /opt/freeware/info/dir.rpmnew
info                        ##################################################
Please check that /etc/info-dir does exist.
You might have to rename it from /etc/info-dir.rpmsave to /etc/info-dir.


# rpm -ivh readline-6.2-3.aix6.1.ppc.rpm
readline                    ##################################################
# rpm -ivh sqlite-3.7.6.3-3.aix6.1.ppc.rpm
sqlite                      ##################################################

# rpm -ivh expat-2.0.1-4.aix6.1.ppc.rpm
expat                       ##################################################
#  rpm -ivh httpd-2.2.22-1.aix6.1.ppc.rpm
httpd                       ##################################################
#

 

本文转载自:http://jingfeng198.blog.163.com/blog/static/462559201272392246232/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值