Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to edit the source of a package and make it work. Thus, I didnt use yum install, I installed it from source and it is working. The package im building from source is libvirt. Now I want to install libvirt-python. I used yum install libvirt-python. It says, libvirt is not installed, Dependency missing and it has to install it. But I want this libvirt-python to be installed on top of the libvirt i compiled. I know that is in /lib . Can someone tell me how i can tell yum the current location of the (By using a symbolic link or something) and install libvirt-python without using libvirt?

share|improve this question
up vote 1 down vote accepted
  • recompile the libvirt with --prefix=/usr/local/libvirt
  • export LD_LIBRARY_PATH=/usr/local/libvirt/lib:$LD_LIBRARY_PATH and try again.
share|improve this answer

maybe you can try the following:

yum install --tolerant --exclude=libvirt libvirt-python



share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.