I am currently using Centos 6. I want to use the latest version of libvirt (libvirt 0.9.4). The machine already has libvirt 0.8.1 installed . I did yum remove libvirt to remove the existing libvirt and I compiled 0.9.4 from source using :

./configure --prefix=/

make

make install

ldconfig

/etc/init.d/libvirtd start

After the installation is complete, I wanted to use the virsh interface. Once I enter virsh , I get :

virsh /lib/libvirt.so.0: version 'LIBVIRT_PRIVATE 0.8.1' not found (required by virsh)

Can somone let me know how to solve this issue? Correct me if I am doing something wrong. Thanks a lot !

- Sethu

Elv13

08-03-2011 05:34 PM

You will have to make a proper RPM package for your libvirt and rebuild the whole tree of packages depending on this new libvirt. It's long, painful, boring, but is the right way to do things on a server. "Make install" is not