Custom Search

Friday, April 18, 2014

SOLVED:configure: error: libnl-devel >= 1.1 is required for macvtap support

Please Install latest libvirt, libvirt-1.2.3

1)
sudo mkdir -p /opt/libvirt
sudo chmod 00755 /opt/libvirt
sudo chown root:root /opt/libvirt

2)
sudo chmod a+w /opt/libvirt
cd /opt/libvirt
wget http://libvirt.org/sources/libvirt-1.2.3.tar.gz
tar xzvf libvirt-1.2.3.tar.gz
mv libvirt-1.2.3 libvirt
cd libvirt

3)
sudo apt-get install libdevmapper-dev
sudo apt-get install libnl-dev
sudo apt-get install libpciaccess-dev
sudo apt-get install make

4)
./configure \
    --prefix=/usr \
    --localstatedir=/var \
    --sysconfdir=/etc

5)
make -j

6)
sudo make install

7)
$ libvirtd --version
libvirtd (libvirt) 1.2.3

8)
Restart libvirt
sudo service libvirt-bin restart

9)
Ref
https://github.com/stackforge/inception/blob/master/bin/pre_install_libvirt.sh

10)
Remove
cd /opt/libvirt/libvirt
make uninstall

1 comment: