我有一些依赖项需要解决,但我不能:
[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
这是 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
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/