Fail to install libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am trying to install libvirt from source code(I have some version of libvirt installed before and I intend to overwrite it), my workflow is shown below,

#!/bin/sh
apt-get install gnutls-bin libgnutls-dev -y
apt-get install libxml++2.6-2  libxml++2.6-dev -y
apt-get install libdevmapper-dev -y
apt-get install libpciaccess-dev -y
apt-get install python-dev -y
apt-get install libnl-dev -y

if [ ! -f ./libvirt-1.1.1 ]; then
wget http://libvirt.org/sources/libvirt-1.1.1.tar.gz
fi

tar -xzvf ./libvirt-1.1.1.tar.gz
cd ./libvirt-1.1.1
./configure --prefix=/usr --localstatedir=/var  --sysconfdir=/etc
make
make install

I have no trouble in configuremake, and make install. However, after make installfinishing, when I type virsh --version, I get the following error message:

virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_1.1.1' not found (required by virsh)

I wonder what's wrong with that? Please help, thanks!

--

Best Regards,

Frank

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux