
On 10/25/2012 09:03 AM, p.venkatasrinivas@tcs.com wrote:
Hi,
Hello, [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 ./configure? -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org