Installing percona-xtrabackup on RHEL6.2

When installing percona-xtrabackup on RHEL 6.2 I get a dependancy error:

→ Finished Dependency Resolution
Error: Package: percona-xtrabackup-2.2.11-1.el6.i686 (/percona-xtrabackup-2.2.11-1.el6.i686)
Requires: libz.so.1(ZLIB_1.2.0)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

zlib is installed:

[mark@db1 ~]$ locate libz.so.1
/lib64/libz.so.1
/lib64/libz.so.1.2.3
/opt/ohai-solo/embedded/lib/libz.so.1
/opt/ohai-solo/embedded/lib/libz.so.1.2.6

Has anyone else tried percona on RHEL 6.2?

Are you sure you are installing correct binaries? 32bit vs 64bit ones?

Maybe this is the cause.

https://rhn.redhat.com/errata/RHBA-2013-0398.html

  • Due to missing information about the zlib version, some applications using
    zlib could not work properly. The zlib.map version script, which provides
    version information, has been added to the underlying source code and zlib now
    works as expected. (BZ#754694)

I also had been in the same situation.
It was resolved by updating zlib from 1.2.3-27.el6 to 1.2.3-29.el6.

The reason is more likely related to this bug https://bugs.launchpad.net/percona-server/+bug/1108016

Quoting the last comment by the lead dev:

Also this one:
https://www.percona.com/doc/percona-xtrabackup/2.2/known_issues.html