Search code examples
linuxpython-2.7rpmsuse

How to tell rpm to look into specific directory for dependencies?


I have an rpm package that needs to be installed on SLES 11. The installtion fails due to unresolved dependecies.

$ rpm -ivh xpra-0.3.11-1.x86_64.rpm
warning: xpra-0.3.11-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID f18ad6bb
error: Failed dependencies:
        libpython2.7.so.1.0()(64bit) is needed by xpra-0.3.11-1.x86_64
        python(abi) = 2.7 is needed by xpra-0.3.11-1.x86_64

When checked, default python installation on SLES 11 was 2.6. I couldn't find python 2.7 rpm package for SLES 11. I have installed python 2.7 by building the source.

Now, whenever I try to install the same software, I am the getting same errors.

How to tell rpm package manager to look into specific directory to find the required dependencies??


Solution

  • You can't - the only dependencies rpm can ever know about are ones which were installed using rpm.