TSM Client安装遇到报错:由libc.so.6包缺失,引出64位系统默认不安装32位包的现象
2013-12-26 18:05
531 查看
报错现象:
[root@mylinux]# rpm -ivh TIVsm-BA.x86_64.rpm
error: Failed dependencies:
libc.so.6 is needed by TIVsm-BA-6.3.0-5.x86_64
解决办法:
出这个问题的原因是因为缺少glibc的32位rpm包,所以只需要补充安装上就可以了。但是需要注意的是,这个包也是与其他包关联的,所以需要用yum方式安装。
分析问题过程:
1、追踪[code][code][root@TSMClt Client-v641]#find /tmp/TSMClient/Client-v641 -name "libc.so*"libc.so.6
[root@TSMClt Client-v641]#find /mnt -name "libc.so*"[root@TSMClt Client-v641]#
[root@TSMClt Client-v641]#[root@TSMClt Client-v641]#find / -name "libc.so*"/usr/lib64/libc.so/lib64/libc.so.6
[root@TSMClt Client-v641]#
[root@TSMClt Client-v641]#ls -al /lib64/libc.so.6lrwxrwxrwx. 1 root root 12 Dec 20 00:13 /lib64/libc.so.6 -> libc-2.12.so[root@TSMClt Client-v641]#rpm -qf /lib64/libc.so.6glibc-2.12-1.7.el6.x86_64我们从这里知道了这个包是属于glibc这个package,这是个转折点。[root@TSMClt Client-v641]#rpm -qa | grep glibcglibc-devel-2.12-1.7.el6.x86_64glibc-2.12-1.7.el6.x86_64glibc-common-2.12-1.7.el6.x86_64glibc-headers-2.12-1.7.el6.x86_64[root@TSMClt Client-v641]#yum search -y glibcLoaded plugins: rhnpluginThis system is not registered with RHN.RHN support will be disabled.============================================ Matched: glibc =============================================glibc-common.x86_64 : Common binaries and locale data for glibcglibc.i686 : The GNU libc librariesglibc.x86_64 : The GNU libc librariesglibc-devel.i686 : Object files for development using standard C libraries.glibc-devel.x86_64 : Object files for development using standard C libraries.glibc-headers.x86_64 : Header files for development using standard C libraries.glibc-utils.x86_64 : Development utilities from GNU C librarycompat-glibc-headers.x86_64 : Header files for development using standard C libraries.kernel-headers.x86_64 : Header files for the Linux kernel for use by glibccompat-glibc.x86_64 : Compatibility C librarylatrace.i686 : LD_AUDIT feature frontend for glibc 2.4+latrace.x86_64 : LD_AUDIT feature frontend for glibc 2.4+nscd.x86_64 : A Name Service Caching Daemon (nscd).nss_db.i686 : An NSS library for the Berkeley DBnss_db.x86_64 : An NSS library for the Berkeley DBplpa-libs.i686 : Portable Linux Processor Affinity Librariesplpa-libs.x86_64 : Portable Linux Processor Affinity Librariesyp-tools.x86_64 : NIS (or YP) client programsyum-plugin-protect-packages.noarch : Yum plugin to prevents Yum from removing itself and other protected : packages我们注意蓝色字体的内容,上下对比一下,我们看到了吧,问题的关键就是缺少这个i686的32位包。说明glibc这个package安装不完全。2、32位包不默认不安装的改进方法In Red Hat Enterprise Linux 5, if a package was available for both the main and the compatibility architectures, both architectures of the package were installed by default. In Red Hat Enterprise Linux 6,
only the package for the primary architecture is installed by default. To avoid problems during the backup-archive client and API installation on a 64-bit machine, be sure to install libstdc++ and compat-libstdc++ packages for 32-bit as well."64位CentOS 6 通过yum安装软件的时候,默认不会安装32位的软件,这样会导致某些软件无法安装成功,实际上yum仓库里是有32位软件的,只是它默认只安装64位软件,如果需要安装32位,有2个方法,假设你要安装libjpeg的32位版本方法1:先查询yum list |grep libjpeg指定安装32位版yum install libjpeg.i686方法2:这是一种改进,一劳永逸的方法,如果作为系统管理员,这个可以提高工作效率,但是也需要评估风险,是否有64位持续不允许安装32位包的?echo 'multilib_policy=all' >> /etc/yum.conf以下命令会同时安装32位和64位版yum install libjpeg 参考资料1:http://grokbase.com/t/centos.org/centos/2011/07/centos-centos6-installing-32bit-and-64bit-rpms-via-the-installer/133tcfqf5pag5uldm62ygv34psia参考资料2:http://www-01.ibm.com/support/docview.wss?uid=swg21608859___________________________________________________________________________________版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!Author: laven54 (lurou)Email: laven54@163.comBlog: http://blog.csdn.net/laven54
相关文章推荐
- [CentOS]64位系统中安装了32位程序软件:/lib/ld-linux.so.2: bad ELF interpreter解决
- opensuse 13.1 64位去掉apper默认安装的32位库
- C#获取32位或者64位系统安装软件信息
- 《转载》WIN10 64位系统 32位Python2.7 PIL安装
- 64位linux系统安装32位应用程序
- ubuntu系统学习之:64位ubuntu系统安装32位兼容库ia32-libs的方法
- 32位PE安装64位系统
- Win 7 64位系统安装32位AutoCAD 2012方法
- win7 系统下安装Tex Live过程,使用ISO镜像,不用区份32位系统或者64位系统
- centos7 64位系统安装32位库时发生冲突
- 安装office2016 64位时提示64位与32位的office程序不兼容,在系统是64位的情况下,由于应用的需要,必须装64位的office,怎么办
- win7,64位系统下iis6.0的安装与配置详解,解决“未发现数据源名称并且未指定默认驱动程序”解决办法
- 如何安装双系统(winxp(64位或32位)和win7(64位或32位))
- Ubuntu 64位系统安装32位运行库
- 32位QT程序读取64位系统的注册表中的64位安装软件
- 32位win7安装ubuntu64位 双系统
- 32位Win7可以升级到Win10 64位吗?Win7 32位系统安装Win10 64位的方法
- linux 6.4(64位)系统安装32位运行库操作方法
- 32位系统下使用Windows 7 USB DVD Download Tool创建64位win7系统安装U盘
- Linuxmint13 / Ubuntu12.04 x86-64位 系统使用 WINE/winetricks 安装32位 IE7 + CAJViewer7 阅读器