Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46582 - [libvirt] missing dependency

Attached to Project: Community Packages
Opened by Christian Hesse (eworm) - Tuesday, 06 October 2015, 11:09 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 07 October 2015, 10:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
/usr/bin/libvirtd is linked against libcap-ng.so.0, but missing the dependency:

linux ~ # /usr/bin/libvirtd
/usr/bin/libvirtd: error while loading shared libraries: libcap-ng.so.0: cannot open shared obj
linux ~ # objdump -p /usr/bin/libvirtd | grep NEEDED | grep libcap
NEEDED libcap-ng.so.0

This happens because libvirt has a make dependency on qemu, which pulls in libcap-ng.

Any other lib is linked against libcap, so we have /usr/bin/libvirtd linked against libcap-ng and libcap:

linux ~ # ldd /usr/bin/libvirtd | grep libcap
libcap-ng.so.0 => /usr/lib/libcap-ng.so.0 (0x00007fadaf919000)
libcap.so.2 => /usr/lib/libcap.so.2 (0x00007fadabb12000)

I am not familiar with libcap(-ng), so not sure if that is an issue.

Additional info:
libvirt 1.2.20-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 07 October 2015, 10:31 GMT
Reason for closing:  Fixed

Loading...