I stumbled upon one error when installing Percona Server and socat via yum repository with following error:
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: socat-184.108.40.206-1.el6.x86_64 --> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: socat-220.127.116.11-1.el6.x86_64
It turns out that:
“Red Hat upgraded the version of OpenSSL in EL6 from 1.0.0 to 1.0.1 during the 6.4-6.5 cycle, in order to resolve a years-old feature request. This package is no longer binary compatible, and programs that were built against OpenSSL 1.0.0 must be rebuilt from source against 1.0.1.”
What do we need to do then?
Luckily the package is available at IUS repository:
rpm -Uhv http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/epel-release-6-5.noarch.rpm rpm -Uhv http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/ius-release-1.0-13.ius.el6.noarch.rpm yum install yum-plugin-replace yum replace --enablerepo=ius-archive openssl --replace-with openssl10
(Press y for any question)
Verify the dependent libraries are exist (libcrypto.so.10 and libssl.so.10) :
$ ls /usr/lib64/ | grep -e ssl.so -e crypto.so libcrypto.so.10 libcrypto.so.1.0.1e libssl3.so libssl.so.10 libssl.so.1.0.1e
Then, try again with the Percona Server installation command. In some cases, you might need to remove the installed epel-release package since it’s a little bit outdated with the current release 6.8.
Hope the solution will help you guys out there!