歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> CentOS 6下安裝OMSA出現的依賴性問題

CentOS 6下安裝OMSA出現的依賴性問題

日期:2017/3/1 15:37:39   编辑:關於Linux
CentOS 6下安裝OMSA出現的依賴性問題 環境是CentOS 6.3,在安裝DELL的OpenMange Server Administrator時,出現如下報錯: error: Failed dependencies: libcmpiCppImpl.so.0()(64bit) is needed by srvadmin-itunnelprovider-7.2.0-4.468.1.el6.x86_64 於是用yum安裝所缺少的rpm包,但提示已安裝: [root@cl109 ~]# yum install -y libcmpiCppImpl.so.0 Loaded plugins: downloadonly, fastestmirror, security Loading mirror speeds from cached hostfile * base: mirrors.163.com * epel: mirrors.ustc.edu.cn * extras: mirrors.163.com * updates: mirrors.163.com Setting up Install Process Package libcmpiCppImpl0-2.0.1-5.el6.i686 already installed and latest version Nothing to do 用rpm -qa查看,也確實有安裝: [root@cl109 ~]# rpm -qa|grep libcmpiCppImpl libcmpiCppImpl0-2.0.1-5.el6.i686 就連錯誤提示中的文件libcmpiCppImpl.so.0,也是存在的: [root@cl109 ~]# rpm -ql libcmpiCppImpl0 /usr/lib/libcmpiCppImpl.so /usr/lib/libcmpiCppImpl.so.0 /usr/lib/libcmpiCppImpl.so.0.0.0 root@cl109 ~]# ll /usr/lib/libcmpiCppImpl.so.0 lrwxrwxrwx 1 root root 23 Jun 21 09:36 /usr/lib/libcmpiCppImpl.so.0 -> libcmpiCppImpl.so.0.0.0 這是咋回事?後來一想,會不會是因為他需要的是64位的libcmpiCppImpl.so.0,而系統中已安裝版本是32位的?而且查看系統中libcmpiCppImpl.so.0的存放路徑是/usr/lib,而不是/usr/lib64/,更加堅定了這個判斷。 於是用yum search libcmpiCppImpl,看是否存在64位的版本: [root@cl109 ~]# yum search libcmpiCppImpl Loaded plugins: downloadonly, fastestmirror, security Loading mirror speeds from cached hostfile * base: mirrors.163.com * epel: mirrors.ustc.edu.cn * extras: mirrors.163.com * updates: mirrors.163.com epel/pkgtags | 304 kB 00:00 ========================================================================== N/S Matched: libcmpiCppImpl ========================================================================== libcmpiCppImpl0.i686 : CMPI C++ wrapper library libcmpiCppImpl0.x86_64 : CMPI C++ wrapper library 結果證明,確實是有64位版本的libcmpiCppImpl0:libcmpiCppImpl0.x86_64。於是用yum安裝,然後重試。問題解決。
Copyright © Linux教程網 All Rights Reserved