RHEL 6.4 和 OpenSSL 1.0.1 - 缺少依赖项……但不是?

Jak*_*ans 8 yum openssl

我正在尝试安装 phpMyAdmin,但是我收到有关缺少 openssl 库的错误。但是,我已经使用 ius 存储库安装了它们;

Error: Package: php-cli-5.4.26-1.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
Error: Package: php-5.4.26-1.el6.remi.x86_64 (remi)
           Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
Error: Package: php-recode-5.4.26-1.el6.remi.x86_64 (remi)
           Requires: librecode.so.0()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Run Code Online (Sandbox Code Playgroud)

openssl 的版本检查;

[root@fts003lhr yum.repos.d]# openssl version -a
OpenSSL 1.0.1e 11 Feb 2013
built on: Wed Oct 16 16:35:53 EDT 2013
platform: linux-x86_64
options:  bn(64,64) md2(int) rc4(8x,int) des(idx,cisc,16,int) idea(int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -DTERMIO -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wa,--noexecstack -DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
OPENSSLDIR: "/etc/pki/tls"
engines:  rsax dynamic
Run Code Online (Sandbox Code Playgroud)

我在 RHEL 6.4 圣地亚哥。

编辑:运行后 whatprovides

[root@fts003lhr yum.repos.d]# yum whatprovides */libcrypto.so.10
Loaded plugins: product-id, replace, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
openssl-1.0.0-20.el6_2.5.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-4.el6.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-20.el6_2.1.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-20.el6_2.2.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-20.el6_2.2.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-27.el6_4.2.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-20.el6_2.4.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-10.el6_1.5.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-10.el6_1.5.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-10.el6_1.4.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-25.el6_3.1.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-4.el6.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-25.el6_3.1.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-4.el6_0.1.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-10.el6.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-4.el6_0.2.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-4.el6_0.2.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-20.el6_2.4.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-10.el6.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-20.el6.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-20.el6.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-4.el6_0.1.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-20.el6_2.5.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-27.el6_4.2.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-20.el6_2.1.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-10.el6_1.4.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-27.el6.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-20.el6_2.3.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl-1.0.0-20.el6_2.3.i686 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib/libcrypto.so.10



openssl-1.0.0-27.el6.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : rhel-x86_64-server-6-6.4.1
Matched from:
Filename    : /usr/lib64/libcrypto.so.10



openssl10-libs-1.0.1e-2.ius.el6.x86_64 : A general purpose cryptography library with TLS implementation
Repo        : installed
Matched from:
Filename    : /usr/lib64/libcrypto.so.10
Run Code Online (Sandbox Code Playgroud)

Joh*_*ohn 6

仅仅因为您安装了实际的库并不意味着依赖关系已经得到满足。这是存在这么多不同存储库的问题之一 - 有时,存储库之间的依赖关系很难甚至无法纠正。首先,在您的情况下,我会做一个yum whatprovides */libcrypto.so.10,然后查看是否安装了该软件包。根据 RPM 数据库,它可能不是。您是否通过./configure; make; make install?安装了该软件包?如果是这样,yum installyum whatprovides返回的内容做一个简单的处理应该可以为您解决这个问题。