[libvirt] Regarding the installtion of libvirt on ubuntu

Daniel P. Berrangé berrange at redhat.com
Tue Oct 9 12:34:20 UTC 2018


On Wed, Oct 03, 2018 at 12:32:04PM +0000, Mousumi Paul wrote:
> I have installed libvirt-bin on ubuntu using the following command:sudo apt-get install libvirt-bin
> I checked the virsh version. It says 4.6.0.Now i want to recompile libvirt with esx, xen and hyperv driver.Therefore i went to /usr/src/libvirt-4.6.0 and trying to run the following command:./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-esx=yes --with-xen=yes
> 
> but i am getting the following error:error: you must install the gnutls>=3.2.0 pkg-config module to compile libvirt.
> 
> So i have installed gnutls-binand it is already the latest version.
> Why libvirt is not able to identify gnutls... what is the solution for this???

Again, you'll need the -dev package, not the -bin package.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list