KVM virsh-install Error ImportError: /usr/lib/vmware/libxml2.so.2: version `LIBXML2_2.9.11' not found (required by /usr/lib/python3/dist-packages/libxml2mod.cpython-310-x86_64-linux-gnu.so)

 Error:

Try to create VM using virsh-install and get error on ubuntu KVM:

ImportError: /usr/lib/vmware/libxml2.so.2: version `LIBXML2_2.9.11' not found (required by /usr/lib/python3/dist-packages/libxml2mod.cpython-310-x86_64-linux-gnu.so)


Solution:

1.Install 

     apt-get install libxml2 libxml2-dev

2.export LD path:

    export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH


No comments:

Post a Comment

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...