请帮助我理解rpm在哪里寻找libhiredis。软件可以很容易地找到其他的依赖项,如libev等,这是我使用yum安装的。对于租用,我使用了常规的make &&,因为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发布于 2015-05-11 20:36:13
rpm/yum 无法找到手动安装的软件。不是这样的。如果你想让它工作,你可以使用这个包或者构建你自己的包。此外,也无法保证打包后的软件能够首先使用较新版本的hiredis库来工作。
https://stackoverflow.com/questions/30177104
复制相似问题