From 11d107c8ab3cd5adb62860ac9814455525576b33 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Tue, 26 Apr 2016 16:34:11 +0200 Subject: [PATCH] packaging: Add `libelf.so` as a runtime dependency --- SPECS/bcc+clang.spec | 1 + SPECS/bcc.spec | 1 + debian/control | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/SPECS/bcc+clang.spec b/SPECS/bcc+clang.spec index 41add9a012b1..ecb6c405e3db 100644 --- a/SPECS/bcc+clang.spec +++ b/SPECS/bcc+clang.spec @@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot} %package -n libbcc Summary: Shared Library for BPF Compiler Collection (BCC) +Requires: elfutils-libelf %description -n libbcc Shared Library for BPF Compiler Collection (BCC) diff --git a/SPECS/bcc.spec b/SPECS/bcc.spec index 75aa8e2bd41a..1ddc957c98be 100644 --- a/SPECS/bcc.spec +++ b/SPECS/bcc.spec @@ -48,6 +48,7 @@ make install/strip DESTDIR=%{buildroot} %package -n libbcc Summary: Shared Library for BPF Compiler Collection (BCC) +Requires: elfutils-libelf %description -n libbcc Shared Library for BPF Compiler Collection (BCC) diff --git a/debian/control b/debian/control index 924b7a80fed8..642ea5dd5541 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Homepage: https://github.com/iovisor/bcc Package: libbcc Architecture: amd64 -Depends: libc6, libstdc++6 +Depends: libc6, libstdc++6, libelf1 Description: Shared Library for BPF Compiler Collection (BCC) Shared Library for BPF Compiler Collection to control BPF programs from userspace.