On Mon, Mar 10, 2014 at 11:45:38AM +0800, Du Jun wrote: > 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 configure, make, and make install. However, after make > installfinishing, when I type virsh --version, I get the following error > message: Can you try with the 'run' wrapper program in the libvirt source tree to invoke libvirt tools: $ ./run virsh [. . .] > > 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 -- /kashyap _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users