Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-03-2011, 03:39 PM   #1
Registered: Jul 2010
Posts: 36

Rep: Reputation: 2
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 install


/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/ 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
Old 08-03-2011, 04:34 PM   #2
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
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
1 members found this post helpful.


configuration, kvm, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: A New Version Of Libvirt Brings Many Changes LXer Syndicated Linux News 0 07-04-2011 03:30 PM
cannot compile libvirt on slackware64 13.1 hopbyhop Slackware 9 04-29-2011 03:51 PM
[SOLVED] problem with libvirt and init scripts Slax-Dude Slackware 6 08-18-2010 09:24 AM
gnome: Fedora/CentOS source .bash_profile but Ubuntu/Debian source .bashrc centguy Linux - Software 6 01-17-2010 08:35 PM
Rebuild A Server Installation Disk from RHEL of CentOS Source RPm kenwee Red Hat 2 05-09-2006 04:36 AM

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration