天天看点

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

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

其实是因为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.

参考资料:

<a href="https://bugs.launchpad.net/percona-xtrabackup/+bug/1526636">https://bugs.launchpad.net/percona-xtrabackup/+bug/1526636</a>

<a href="https://github.com/percona/percona-xtrabackup/pull/181">https://github.com/percona/percona-xtrabackup/pull/181</a>

继续阅读