Hide Forgot
Description of problem: ---------------------- The libsystemd-daemon-dev package has vanished into thin air during the recent upgrade of Ubuntu 15.10 -> 16.04. Only libsystemd-dev is available now. sudo pkg-config --list-all | grep systemd systemd systemd - systemd System and Service Manager libsystemd systemd - systemd Library Configuring & compiling libvirt 1.3.3 is now impossible without modifying m4/virt-systemd-daemon.m4: 21: LIBVIRT_CHECK_PKG([SYSTEMD_DAEMON], [libsystemd-daemon], [0.27.1]) into 21: LIBVIRT_CHECK_PKG([SYSTEMD_DAEMON], [libsystemd], [0.27.1]) Version-Release number of selected component (if applicable): ------------------------------------------------------------ 1.3.3 (commit 0086221cb377c7a1c2df58b8ee5eb8223f989765) but probably also previous versions. How reproducible: ---------------- Configure libvirt with Ubuntu 16.04 Steps to Reproduce: ------------------ 1. Use/upgrade to Ubuntu 16.04 2. Configure with the follwoing options (only systemd-daemon is significant here) ./autogen.sh --without-apparmor \ --without-apparmor-mount \ --without-apparmor-profiles \ --without-secdriver-apparmor \ --without-wireshark-dissector \ --with-openssl \ --with-systemd-daemon \ --with-numactl \ --with-numad \ --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib Actual results: -------------- checking for SYSTEMD_DAEMON... no configure: error: You must install the libsystemd-daemon >= 0.27.1 pkg-config module to compile libvirt Makefile:1925: recipe for target 'config.status' failed make: *** [config.status] Error 1 Although: sudo pkg-config --modversion libsystemd 229
A much cleaner way is to use a transitional package unavailable on the official Ubuntu repositories, but downloadable from the official launchpad: https://launchpad.net/ubuntu/wily/+package/libsystemd-daemon-dev. This enables us to configure & compile libvirt 1.3.3 on Ubuntu 16.04 without modifying m4/virt-systemd-daemon.m4.