erlang 安装错误:“需要:libcrypto.so.10(OPENSSL_1.0.2)(64 位)”

erlang 安装错误:“需要:libcrypto.so.10(OPENSSL_1.0.2)(64 位)”

我正在尝试安装 erlang,以便可以安装 rabbitMQ。以下是我的顺序和错误:

>yum install erlang
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package erlang.x86_64 0:22.0.4-1.el7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: erlang-22.0.4-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: erlang-22.0.4-1.el7.x86_64 (rabbitmq_erlang)
           Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我的Linux信息是:

>cat /proc/version
Linux version 3.10.0-327.el7.x86_64 ([email protected]) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015

>cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)

>cat /etc/*elease
NAME="Red Hat Enterprise Linux Server"
VERSION="7.2 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.2"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.2 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.2:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.2
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.2"
Red Hat Enterprise Linux Server release 7.2 (Maipo)
Red Hat Enterprise Linux Server release 7.2 (Maipo)

...这是我的openssl信息:

>openssl version
OpenSSL 1.0.2s  28 May 2019

我可以在哪里找到并安装libcrypto.so.10(OPENSSL_1.0.2)(64bit)

感谢您的帮助!

答案1

您的 RHEL 服务器没有有效订阅,但是这是安装包所必需的。 你需要注册系统使用subscription-manager register现有或新授权。如果您还没有 Red Hat Enterprise Linux 订阅,则需要购买一个。

一旦您的系统正确订阅,运行时将不再出现警告信息yum,并且您将能够安装软件包。

相关内容