当前位置: 技术问答>linux和unix
rpm如何设定依赖路径?
来源: 互联网 发布时间:2016-08-02
本文导语: 安装DenyHosts-2.6-python2.4这个软件,依赖关系错误: /usr/bin/python2.4 is needed by DenyHosts-2.6-python2.4 故 安装了python2.4,路径为/usr/local/bin/python2.4 但是,还是出现: /usr/bin/python2.4 is needed by DenyHosts-2.6-python2.4 想问,能不...
安装DenyHosts-2.6-python2.4这个软件,依赖关系错误:
/usr/bin/python2.4 is needed by DenyHosts-2.6-python2.4
故
安装了python2.4,路径为/usr/local/bin/python2.4
但是,还是出现:
/usr/bin/python2.4 is needed by DenyHosts-2.6-python2.4
想问,能不能为rpm制定他所依赖软件所在的路径?
ps:
我后又在/usr/bin里建立了一个指向/usr/local/bin/python2.4的链接,
还是不管用,还时提示 /usr/bin/python2.4 is needed by DenyHosts-2.6-python2.4的错误!
/usr/bin/python2.4 is needed by DenyHosts-2.6-python2.4
故
安装了python2.4,路径为/usr/local/bin/python2.4
但是,还是出现:
/usr/bin/python2.4 is needed by DenyHosts-2.6-python2.4
想问,能不能为rpm制定他所依赖软件所在的路径?
ps:
我后又在/usr/bin里建立了一个指向/usr/local/bin/python2.4的链接,
还是不管用,还时提示 /usr/bin/python2.4 is needed by DenyHosts-2.6-python2.4的错误!
|
连接建成功了吗 名字和源文件/usr/local/bin/python2.4一样吗
|
猫哥,这个不是路径的问题吧,感觉像是python就没装好,所以找不到需要的依赖包。
|
运行python,报错吗?
正常的是:
正常的是:
[root@h88 task-omatic]# python
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>