天天看點

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>

繼續閱讀