On 09/29/2013 05:31 AM, jimmy he wrote: > Hello all, > i am now running xen 4.2.3 on centos 6.4. As we know, the default > libvirt package could not work well with xen on centos6.x. So, i compile > the libvirt by my self, and i have compiled libvirt-1.1.1, libvirt-1.1.2, > libvirt-1.1.3. After the installation of libvirt, i run virt-manager, but > it print error as below. > > *ImportError: /usr/local/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.10.2' > not found (required by /usr/lib/python2.6/site-packages/libvirtmod.so)* Generally, this means that you have not uninstalled the distro build, and that your self-build was built with different paths as configure arguments; as a result, you are mixing and matching between the two binaries. Best is to retry your self-build to use the exact same paths as the distro (for example, if building from git, './autogen.sh --system' does that), and/or to uninstall the distro build so that you aren't mixing paths with your self-built executable getting confused by finding .so or other binaries from the older distro build. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users