From 3a1d4786f4d1382887692ad7a238db57b1dcf064 Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Wed, 24 Mar 2021 01:12:03 +0100 Subject: [PATCH] pkgdep/common: Add /usr/lib64 to ld's cache ld on some distros, e.g., ubuntu1604, doesn't include this particular path in its SEARCH_DIR list. Add it manually to make sure linking towards liburing is possible in such a case. Signed-off-by: Michal Berger Change-Id: I82d7ed870ec9ff257dc72a386f950addb5476d1b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7022 Tested-by: SPDK CI Jenkins Reviewed-by: Tomasz Zawadzki Reviewed-by: Ben Walker Reviewed-by: Paul Luse Reviewed-by: Maciej Wawryk Reviewed-by: Jim Harris Reviewed-by: Karol Latecki --- scripts/pkgdep/common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pkgdep/common.sh b/scripts/pkgdep/common.sh index 98ae216093..2a3d304e47 100755 --- a/scripts/pkgdep/common.sh +++ b/scripts/pkgdep/common.sh @@ -17,6 +17,7 @@ install_liburing() { # FIXME: Switch to liburing-2.0 when it's finally released git -C "$liburing_dir" checkout 5d027b315d78415a31dcc9111f6bd8924ba5b4e6 (cd "$liburing_dir" && ./configure --libdir=/usr/lib64 && make install) + echo /usr/lib64 > /etc/ld.so.conf.d/spdk-liburing.conf ldconfig fi }