There seem to be several incompatible issues introduced by the Debian
packaging style:

1. Debian packages libxenlight.so into "xen-utils-4.2" along with the binary 
executables (/usr/lib/xen-4.2/bin/xl, etc.) - other distros package it in the 
libxen[-4.2] package
2. libvirt's configure script expects to find libxenlight.so in the standard 
library locations /usr/lib, /usr/lib/x86*-linux-gnu/
3. Debian installs libxenlight.so to /usr/lib/xen-4.2/lib/
4. Debian/Ubuntu libvirt does not depend on "xen-utils" (the virtual package 
provided by xen-utils-4.2).
5. Debian/Ubuntu libvirt configure script checks for but does not find 
libxenlight.so and therefore doesn't include support

I tried adding "xen-utils" as a build-depends to libvirt but that
doesn't solve the issue due to [3].

I also tried adding libxenlight.so, libxenlight.a and libxl.h to the
libxen-dev package but that fails to build due to other complex library
dependencies which I decided not to pursue.

** Changed in: xen (Ubuntu)
       Status: New => Confirmed

** Changed in: xen (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1180281

Title:
  “Unable to connect to libvirt” when using virt-manager with the xl
  toolstack and Xen 4.2.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1180281/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to