安装rabbitmq的语言依赖erlang时报错:
warning: erlang-23.3.4.4-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 6026dfca: NOKEY
error: Failed dependencies:
libcrypto.so.10()(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64
libcrypto.so.10(OPENSSL_1.0.2)(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64
libcrypto.so.10(libcrypto.so.10)(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64
libnsl.so.1()(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64
1、解决libcrypto.so.10()(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64
Erlang rpm包安装过程出现的这个错误,出现这个错误的主要原因是没有libcrypto.so.10(OPENSSL_1.0.2)(64bit)
依赖,我们去下载一个就可以了
下载地址:
https://rpmfind.net/linux/rpm2html/search.php?query=libcrypto.so.10%28OPENSSL_1.0.2%29%2864bit%29&submit=Search%20...&system=&arch=
下载最后一个
下载完成后传输到我们的centos上,使用命令
rpm -ivh openssl-libs-1.0.2k-19.el7.x86_64.rpm --force
2、再次运行rpm -Uvh erlang-23.3.4.4-1.el7.x86_64.rpm
,报错libnsl.so.1()(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64
解决:运行dnf install libnsl
3、再次运行rpm -Uvh erlang-23.3.4.4-1.el7.x86_64.rpm
,成功