Skip to contentSkip to conversation

xenguest-install.py reports "no module named libvirt" in FC5 x86 mode

DISCUSSION shobha ranganathan 3 participants 3 messages Sep 26, 2006 – Sep 27, 2006

lore
Share & tools
lore
#0 lore raw

I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora COre 5 in x86 mode. I did not build a domU kernel at all.

I tried to run ./xenguest-install.py in dom0 kernel after booting into it.. I got this error "No module named libvirt".

I then tried installing libvirt-0.0.6-1.i386.rpm using "rpm --install libvirt-0.0.6-1.i386.rpm"

I get failed dependencies error such as "libxenstore.so is needed by libvirt-0.0.6-1.i386 xen is needed by libvirt-0.0.6-1.i386"

what am I missing here ? I have libxenstore.so in /usr/lib.

thanks for your help
Shobha

---------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out.

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#1 lore raw

libxenstore.so is part of xen-libs package which you don't need while compiling from src rpms.

If you are going to compile xen from source, you should have to install the libvirt rpm using --nodeps option and compile it.

rpm --install libvirt-0.0.6-1.i386.rpm --nodeps

Quoted 25 lines · shobha ranganathan

I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora COre 5 in x86 mode. I did not build a domU kernel at all.

I tried to run ./xenguest-install.py in dom0 kernel after booting into it.. I got this error "No module named libvirt".

I then tried installing libvirt-0.0.6-1.i386.rpm using "rpm --install libvirt-0.0.6-1.i386.rpm"

I get failed dependencies error such as
"libxenstore.so is needed by libvirt-0.0.6-1.i386
xen is needed by libvirt-0.0.6-1.i386"

what am I missing here ? I have libxenstore.so in /usr/lib.

thanks for your help
Shobha

------------------------------------------------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out. <http://us.rd.yahoo.com/evt=42974/*http://www.yahoo.com/preview>
------------------------------------------------------------------------

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#2 lore raw
Quoted 7 lines · Sadique Puthen Peedikayil

libxenstore.so is part of xen-libs package which you don't need while compiling from src rpms.

If you are going to compile xen from source, you should have to install the libvirt rpm using --nodeps option and compile it.

rpm --install libvirt-0.0.6-1.i386.rpm --nodeps

No, there is absolutely *NO* need to install libvirt when compiling the Xen RPM - there is no compile time dependancy, and you certainly should not use --nodeps when installing RPMs.

Quoted 3 lines
Quoted 2 lines · shobha ranganathan

I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora COre 5 in x86 mode. I did not build a domU kernel at all.

Did you install both xen & xen-libs ?

Quoted 4 lines
Quoted 4 lines

I tried to run ./xenguest-install.py in dom0 kernel after booting into it.. I got this error
"No module named libvirt".

Quoted 8 lines
Quoted 8 lines

I then tried installing libvirt-0.0.6-1.i386.rpm using "rpm --install libvirt-0.0.6-1.i386.rpm"

I get failed dependencies error such as
"libxenstore.so is needed by libvirt-0.0.6-1.i386
xen is needed by libvirt-0.0.6-1.i386"

what am I missing here ? I have libxenstore.so in /usr/lib.

The version of Xen you installed probably has a newer libxenstore.so which includes versioning, while the libvirt you installed was linked against the older non-versioned libxenstore.so. What does

  rpm -q --provides xen xen-libs | grep xenstore

Show ?

BTW, you'll also want libvirt-python RPM too

Regards,
Dan.

Signature · 4 lines
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=|