[libvirt-users] hypervisor driver not found

Eric Blake eblake at redhat.com
Thu Oct 25 16:52:46 UTC 2012

On 10/25/2012 09:03 AM, p.venkatasrinivas at tcs.com wrote:
> Hi,


[please don't top-post on technical lists]

> Thanks for quick reply.
> Now i am able to connect to the vbox using virsh command.  We have 
> installed libvirt-0.9
> But when I am importing the libvirt API in the python, the following error 
> is coming.
> Traceback (most recent call last):
>   File "/root/sample1/sample1/sample1/libvirt3.py", line 6, in <module>
>     import libvirt
>   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 25, in 
> <module>
>     raise lib_e
> ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by 
> /usr/lib64/python2.6/libvirtmod.so)
> Can you Please help in this.

Ouch - that says you are running the wrong binary - one that was
compiled on a different platform (with newer glibc) than the one where
you are running.  Are you sure you built and installed libvirt
correctly?  And if you are building it yourself, why not use the latest
release of 0.10.2?  If you are not building it yourself, then why aren't
you using your distro's pre-built version (unless your distro didn't
compile vbox support in, which then explains why you have to build it
yourself).  What distro are you using?  What options are you passing to

Eric Blake   eblake at 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: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121025/2cf5ac5f/attachment.sig>

More information about the libvirt-users mailing list