在安装 ProxySQL 时遇到依赖性问题:
#rpm -ivh proxysql-1.4.9-1.1.el7.x86_64.rpm warning: proxysql-1.4.9-1.1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
libcrypto.so.10(OPENSSL_1.0.2)(64bit) is needed by proxysql-1.4.9-1.1.el7.x86_64
解决方案
装一个 openssl-lib
#下载
wget ftp://ftp.pbone.net/mirror/ftp.centos.org/7.6.1810/updates/x86_64/Packages/openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm
#安装
rpm -ivh openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm --force
从截图可看到,问题解决