Ask Your Question
0

Problems creating a guest with virt-install/virt-manager

asked 2014-01-14 12:52:29 -0500

sayanchowdhury gravatar image

updated 2014-01-14 12:54:49 -0500

I was following the guide Getting Started with Virtualization. /wiki/Getting_started_with_virtualization (could not post the complete link)

When i am trying to create a guest with virt-install using the command

su -c "/usr/bin/virt-install --prompt"

I get the following error. Here is the traceback:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-install", line 34, in <module>
    import virtinst
  File "/usr/share/virt-manager/virtinst/__init__.py", line 23, in <module>
    from virtinst import util
  File "/usr/share/virt-manager/virtinst/util.py", line 28, in <module>
    import libxml2
  File "/usr/lib64/python2.7/site-packages/libxml2.py", line 1, in <module>
    import libxml2mod
ImportError: /usr/lib64/python2.7/site-packages/libxml2mod.so: symbol xmlInitializeDict, version LIBXML2_2.8.0 not defined in file libxml2.so.2 with link time reference
edit retag flag offensive close merge delete

Comments

I guess you may have similar problem to https://ask.fedoraproject.org/question/34442/gnome-tweak-tool-not-launching-with-non-root-user/ . Which Fedora is that? Have you installed libxml2 manually (without yum)? What does ldd /usr/lib64/python2.7/site-packages/libxml2mod.so | grep libxml2 say?

marcindulak gravatar imagemarcindulak ( 2014-01-14 13:17:49 -0500 )edit

Yeah I would suggest you run a system update, maybe just re-install the xml libraries you have problem with.

parasense gravatar imageparasense ( 2014-01-14 14:42:16 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-01-14 22:48:58 -0500

sayanchowdhury gravatar image

Thanks you for your help.

I ran a system update and re-installed the xml libraries which solved the problem.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-01-14 12:52:29 -0500

Seen: 417 times

Last updated: Jan 14 '14