首页 > 代码库 > libmysqlclient.so.18()(64bit) is needed by sysbench-0.5-3.el6.x86_64

libmysqlclient.so.18()(64bit) is needed by sysbench-0.5-3.el6.x86_64

centos 6.5 64bit用rpm包安装sysbench时出现

[root@localhost ~]# rpm -ivh sysbench-0.5-3.el6_.x86_64.rpm 
error: Failed dependencies:
    libmysqlclient.so.18()(64bit) is needed by sysbench-0.5-3.el6.x86_64

解决办法

安装Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm

[root@localhost ~]# wget http://www.percona.com/redir/downloads/Percona-XtraDB-Cluster/5.5.37-25.10/RPM/rhel6/x86_64/Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm

[root@localhost ~]# rpm -ivh Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm

再安装sysbench

[root@localhost ~]# rpm -ivh sysbench-0.5-3.el6_.x86_64.rpm 
Preparing...                ########################################### [100%]
   1:sysbench               ########################################### [100%]

参考:http://www.lefred.be/?q=node/154

本文出自 “闲潭小筑” 博客,请务必保留此出处http://soarwilldo.blog.51cto.com/5520138/1567444

libmysqlclient.so.18()(64bit) is needed by sysbench-0.5-3.el6.x86_64