您好,登錄后才能下訂單哦!
這篇文章主要介紹“安裝sysbench時報錯libmysqlclient.so.18()(64bit)怎么解決”,在日常操作中,相信很多人在安裝sysbench時報錯libmysqlclient.so.18()(64bit)怎么解決問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”安裝sysbench時報錯libmysqlclient.so.18()(64bit)怎么解決”的疑惑有所幫助!接下來,請跟著小編一起來學習吧!
安裝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 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@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]#
到此,關于“安裝sysbench時報錯libmysqlclient.so.18()(64bit)怎么解決”的學習就結束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學習,快去試試吧!若想繼續學習更多相關知識,請繼續關注億速云網站,小編會繼續努力為大家帶來更多實用的文章!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。