Hiredis依赖没有解决

时间:2015-05-11 20:30:59

标签: rpm yum rpmbuild centos6.5 hiredis

请帮助我了解rpm查找libhiredis的位置。软件可以轻松找到其他依赖项,如libev等,我使用yum安装。对于hiredis我使用普通的制造&& 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

1 个答案:

答案 0 :(得分:1)

rpm / yum 无法找到您手动安装的软件。它不起作用。如果您希望这样做,您可以使用该包或构建自己的包。也不能保证打包的软件首先使用更新版本的hiredis库工作