程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> MYSQL數據庫 >> MySQL綜合教程 >> CentOS 6.6安裝Xtrabackup RPM提示缺少libev.so.4(),xtrabackuplibev

CentOS 6.6安裝Xtrabackup RPM提示缺少libev.so.4(),xtrabackuplibev

編輯:MySQL綜合教程

CentOS 6.6安裝Xtrabackup RPM提示缺少libev.so.4(),xtrabackuplibev


在CentOS Release 6.6安裝percona-xtrabackup-2.3.4時,遇到下面錯誤信息

rpm -ivh percona-xtrabackup-2.3.4-1.el6.x86_64.rpm

在 https://bugs.launchpad.net/percona-xtrabackup/+bug/1526636上看到,這個是一個bug來著,在 percona-xtrabackup (2.3.2-1)已經出現了。具體可以參考Bug #1526636 - by mentioning hard requirement on libev package in rpm distros

 

其實是因為percona-xtrabackup依賴libev.so.4()(64bit)的包,而這個包只能從EPEL源(Extra Packages for Enterprise Linux,企業版Linux的額外軟件包 是Fedora小組維護的一個軟件倉庫項目,為RHEL/CentOS提供他們默認不提供的軟件包)安裝 ,所以只要安裝了這個包即可解決問題.

 

When installing the latest release of percona-xtrabackup (2.3.2-1) from the percona repo, it encounters a missing dependency for libev.so.

Error: Package: percona-xtrabackup-2.3.2-1.el6.x86_64 (percona)

Requires: libev.so.4()(64bit)

This can be resolved by installing an external repo such as EPEL, but probably should be included in the percona repo. Alternatively switching to AnyEvent (if EV is not a hard requirement) would allow for EV or the internal loop if EV is not installed on a system.

Have not tested this issue with other releases of CentOS.

 

從http://rpmfind.net/linux/rpm2html/search.php上下載libev-4.15-1.el6.rf.x86_64.rpm安裝包,然後安裝即可,如下所示

[root@MySQL-DB tmp]# rpm -ivh libev-4.15-1.el6.rf.x86_64.rpm
warning: libev-4.15-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                ########################################### [100%]
   1:libev                  ########################################### [100%]
 
[root@MySQL-DB tmp]#  rpm -ivh percona-xtrabackup-2.3.4-1.el6.x86_64.rpm 
warning: percona-xtrabackup-2.3.4-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing...                ########################################### [100%]
   1:percona-xtrabackup     ########################################### [100%]
[root@GETAZLNX002 tmp]# 
 
[root@MySQL-DB tmp]# rpm -ivh  percona-xtrabackup-debuginfo-2.3.4-1.el6.x86_64.rpm
warning: percona-xtrabackup-debuginfo-2.3.4-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing...                ########################################### [100%]
   1:percona-xtrabackup-debu########################################### [100%]
 
[root@MySQL-DB tmp]# rpm -ivh percona-xtrabackup-test-2.3.4-1.el6.x86_64.rpm
warning: percona-xtrabackup-test-2.3.4-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing...                ########################################### [100%]
   1:percona-xtrabackup-test########################################### [100%]
[root@MySQL-DB tmp]# 

 

參考資料:

https://bugs.launchpad.net/percona-xtrabackup/+bug/1526636

https://github.com/percona/percona-xtrabackup/pull/181

 

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved