请帮助我了解 rpm 在哪里寻找 libhiredis。软件可以很容易地找到我使用 yum 安装的 libev 等其他依赖项。对于hiredis,我使用常规的make && make install,因为yum 有非常旧的包。这是唯一的区别。
CentOS 6.6 版(最终版)
I have created link to hiredis under every possible location i knew -
/lib,
/lib64,
/usr/lib,
/usr/lib64
/usr/local/lib contains the file
yum install /usr/src/redhat/RPMS/x86_64/snitest-0.1.0-1.el6.x86_64.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Examining /usr/src/redhat/RPMS/x86_64/snitest-0.1.0-1.el6.x86_64.rpm: snitest-0.1.0-1.el6.x86_64
Marking /usr/src/redhat/RPMS/x86_64/snitest-0.1.0-1.el6.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* epel: epel.mirror.srv.co.ge
* extras: centos.excellmedia.net
* updates: centos.excellmedia.net
Resolving Dependencies
--> Running transaction check
---> Package snitest.x86_64 0:0.1.0-1.el6 will be installed
--> Processing Dependency: libhiredis.so.0.12()(64bit) for package: snitest-0.1.0-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: snitest-0.1.0-1.el6.x86_64 (/snitest-0.1.0-1.el6.x86_64)
Requires: libhiredis.so.0.12()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest