From 52bae57a704f5ccd5ff6ab188452ea3a1a84c980 Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Tue, 16 Oct 2018 11:57:05 +1000 Subject: [PATCH] rpm: Use updated gperftools-libs at runtime Due to ABI breakage in libtcmalloc.so.4 we need to specify the minimum version to be used at runtime to be greater than or equal to the version used at build time. Fixes: http://tracker.ceph.com/issues/36508 Signed-off-by: Brad Hubbard (cherry picked from commit 24636267f957ff9518396ac1b8212f2402286d82) --- ceph.spec.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 999499503f98..3a9824b7dde9 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -303,6 +303,11 @@ Requires: xfsprogs Requires: which %if 0%{?fedora} || 0%{?rhel} Requires: gdisk +# The following is necessary due to tracker 36508 and can be removed once the +# associated upstream bugs are resolved. +%if 0%{with tcmalloc} +Requires: gperftools-libs >= 2.6.1 +%endif %endif %if 0%{?suse_version} Recommends: chrony -- 2.47.3