LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Libvirt installation from source - CentOS (http://www.linuxquestions.org/questions/linux-software-2/libvirt-installation-from-source-centos-895378/)

sethusubbiah 08-03-2011 03:39 PM

Libvirt installation from source - CentOS
 
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 04: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


All times are GMT -5. The time now is 12:37 PM.