From 5a6b35160417423db7c6ff892627f084ab610dfe Mon Sep 17 00:00:00 2001 From: Sandon Van Ness Date: Tue, 4 Mar 2014 16:15:15 -0800 Subject: [PATCH] Make symlink of librbd to qemu's folder so it can detect it. Per issue #7293. Signed-off-by: Sandon Van Ness (cherry picked from commit 65f3354903fdbdb81468a84b8049ff19c00f91ba) --- ceph.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index d66b77fbd02a8..aca24e7b272ae 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -568,6 +568,8 @@ fi %post -n librbd1 /sbin/ldconfig +mkdir -p /usr/lib64/qemu/ +ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1 %postun -n librbd1 /sbin/ldconfig -- 2.39.5