LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-03-2011, 03:39 PM   #1
sethusubbiah
Member
 
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

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

Rep: Reputation: 129Reputation: 129
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.
  


Reply

Tags
configuration, kvm, source



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:36 PM.

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