【问题标题】:Hiredis dependency not resolvingHiredis依赖没有解决
【发布时间】:2015-07-22 12:20:38
【问题描述】:

请帮助我了解 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

【问题讨论】:

    标签: rpm yum rpmbuild centos6.5 hiredis


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2013-06-02
      • 2021-03-13
      • 2018-10-22
      • 1970-01-01
      • 2014-12-27
      • 2017-05-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多