CentOS 6.6 installation Xtrabackup RPM prompts that libev. so.4 (), xtrabackuplibev is missing
The following error message is reported when installing the percona-xtrabackup-2.3.4 in CentOS Release 6.6
Rpm-ivh percona-xtrabackup-2.3.4-1.el6.x86_64.rpm
The following error occurs in percona-xtrabackup (2.3.2-1. For details, refer to Bug #1526636-by mentioning hard requirement on libev package in rpm distros.
In fact, percona-xtrabackup depends on libev. so.4 () (64bit) package, which can only be from EPEL source (Extra Packages for Enterprise Linux, an additional package for Enterprise Linux is a software warehouse project maintained by the Fedora team, provide a software package that is not provided by default for RHEL/CentOS) installation, so you only need to install this package to solve the problem.
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 shocould be stored in the percona repo. alternatively switching to AnyEvent (if EV is not a hard requirement) wocould 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.
Slave
[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]#
References:
Https://bugs.launchpad.net/percona-xtrabackup/+bug/1526636
Https://github.com/percona/percona-xtrabackup/pull/181