安裝sysbench報錯 libmysqlclient.so.18()(64bit)

wolfreturn發表於2016-01-04
安裝sysbench報如下錯誤
[root@mysql mysql]# rpm -ivh sysbench-0.5-2.el6_.x86_64.rpm                                                                   error: Failed dependencies:
        libmysqlclient.so.18()(64bit) is needed by sysbench-0.5-2.el6.x86_64
[root@mysql mysql]# ll
解決辦法:
安裝Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm
[root@mysql ~]# wget

[root@mysql mysql]# rpm -ivh Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm
warning: Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
        libcrypto.so.10(libcrypto.so.10)(64bit) is needed by Percona-XtraDB-Cluster-shared-55-1:5.5.37-25.10.756.el6.x86_64
        libssl.so.10(libssl.so.10)(64bit) is needed by Percona-XtraDB-Cluster-shared-55-1:5.5.37-25.10.756.el6.x86_64
還是報錯,安裝openssl
[root@mysql mysql]# yum install openssl
可嘗試安裝sysbench ,報錯
[root@mysql mysql]# rpm -ivh sysbench-0.5-2.el6_.x86_64.rpm
error: Failed dependencies:
        libmysqlclient.so.18()(64bit) is needed by sysbench-0.5-2.el6.x86_64
安裝Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm
[root@mysql mysql]# rpm -ivh Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm
warning: Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing...                ########################################### [100%]
   1:Percona-XtraDB-Cluster-########################################### [100%]
[root@mysql mysql]# rpm -ivh sysbench-0.5-2.el6_.x86_64.rpm                                   
Preparing...                ########################################### [100%]
   1:sysbench               ########################################### [100%]
[root@mysql mysql]#

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24742969/viewspace-1970778/,如需轉載,請註明出處,否則將追究法律責任。

相關文章