CentOS 6.6安装Xtrabackup RPM提示缺少libev.so.4()

在CentOS Release 6.6安装percona-xtrabackup-2.3.4时,遇到下面错误信息

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

image

在 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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值