![没有包提供 libssl.so.10](https://linux22.com/image/628265/%E6%B2%A1%E6%9C%89%E5%8C%85%E6%8F%90%E4%BE%9B%20libssl.so.10.png)
我需要解决一些依赖关系,但我无法:
[root@h tmp]# ldd /usr/lib64/collectd/mysql.so
linux-vdso.so.1 => (0x00007fff9b070000)
libmysqlclient_r.so.16 => not found
libz.so.1 => /lib64/libz.so.1 (0x00002b5d46a5d000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b5d46c71000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b5d46ea9000)
libm.so.6 => /lib64/libm.so.6 (0x00002b5d470c2000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b5d47345000)
libssl.so.10 => not found
libcrypto.so.10 => not found
libdl.so.2 => /lib64/libdl.so.2 (0x00002b5d47561000)
libc.so.6 => /lib64/libc.so.6 (0x00002b5d47765000)
/lib64/ld-linux-x86-64.so.2 (0x0000003b80c00000)
我试过了
[root@h tmp]# rpm --query --whatprovides libssl.so.10
no package provides libssl.so.10
是 centos 5.8
我也有:
[root@h ~]# yum install openssl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.beyondhosting.net
* epel: mirror.compevo.com
* extras: yum.singlehop.com
* rpmforge: mirror.team-cymru.org
* updates: mirrors.loosefoot.com
Setting up Install Process
Package openssl-0.9.8e-27.el5_10.1.x86_64 already installed and latest version
Package openssl-0.9.8e-27.el5_10.1.i686 already installed and latest version
Nothing to do
答案1
CentOS 5(目前为 5.10)打包了 libssl.so.6,而不是 CentOS 6 中的 libssl.so.10。您安装的 collectd-mysql 包可能设计为安装在 CentOS 6 而不是 CentOS 5 上。例如,这个存储库包含适用于 CentOS 5 和 CentOS 6 的两个包:http://pkgs.repoforge.org/collectd/