centos 6.5 64bit用rpm包安装sysbench时出现
[[email protected] ~]# 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
[[email protected] ~]# 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
[[email protected] ~]# rpm -ivh Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm
再安装sysbench
[[email protected] ~]# rpm -ivh sysbench-0.5-3.el6_.x86_64.rpm Preparing... ########################################### [100%] 1:sysbench ########################################### [100%]
参考:http://www.lefred.be/?q=node/154
时间: 2024-10-10 00:14:32