In "ts-xen-build-prep: install packages for suites >jessie",
libpciaccess-dev was added for the benefit of qemu.  libvirt needs it
too.

We also need the runtime library.  Without it, libvirt does not start:

  2019-04-04 22:35:36.760+0000: 3623: error : virModuleLoadFile:53 : internal 
error: Failed to load module 
'/usr/local/lib/libvirt/connection-driver/libvirt_driver_nodedev.so': 
libpciaccess.so.0: cannot open shared object file: No such file or directory

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 ts-xen-install | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ts-xen-install b/ts-xen-install
index 03f8c03e..9f78a75f 100755
--- a/ts-xen-install
+++ b/ts-xen-install
@@ -53,7 +53,8 @@ sub packages () {
                               qemu-utils
                                netcat-openbsd));
     if ($ho->{Suite} !~ m/squeeze|wheezy|jessie/) {
-        target_install_packages($ho, qw(net-tools libnl-route-3-200));
+        target_install_packages($ho, qw(net-tools libnl-route-3-200 
+                                       libpciaccess0));
     }
     if ($ho->{Suite} =~ m/jessie/) {
         target_install_packages($ho, qw(libnl-route-3-200));
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to