http://qs321.pair.com?node_id=1205352


in reply to C headers not found when installing Sys::Virt on CentOS

Just want to point out that 'libvirt' and 'libvirt-devel' are two different RPM packages - at least they are for CentOS 7.2. You indicate that you are seeing messages about 'libvirt' not being installed. Out of curiosity, have you installed the 'libvirt' package?

  • Comment on Re: C headers not found when installing Sys::Virt on CentOS

Replies are listed 'Best First'.
Re^2: C headers not found when installing Sys::Virt on CentOS
by sierpinski (Chaplain) on Dec 12, 2017 at 19:43 UTC
    Took the words right out of my mouth. The "-devel" packages have headers used for compilation of code, but the libvirt package itself is what contains the drivers/binaries that you'll need for your project.
Re^2: C headers not found when installing Sys::Virt on CentOS
by chrestomanci (Priest) on Dec 13, 2017 at 09:40 UTC

    Yes I did have the libvirt package installed as well, though I would have thought (but did not check) that it is a dependency of the '-devel' package, so will get installed automaticaly along with it.