[libvirt-users] virt-manager could not start with error "version `LIBVIRT_PRIVATE_0.10.2' not found "

Eric Blake eblake at redhat.com
Mon Sep 30 15:03:55 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130930/a1edfff6/attachment.sig>


More information about the libvirt-users mailing list