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 <michalx.berger@intel.com> Change-Id: I82d7ed870ec9ff257dc72a386f950addb5476d1b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7022 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com>
This commit is contained in:
parent
3124e71569
commit
3a1d4786f4
@ -17,6 +17,7 @@ install_liburing() {
|
|||||||
# FIXME: Switch to liburing-2.0 when it's finally released
|
# FIXME: Switch to liburing-2.0 when it's finally released
|
||||||
git -C "$liburing_dir" checkout 5d027b315d78415a31dcc9111f6bd8924ba5b4e6
|
git -C "$liburing_dir" checkout 5d027b315d78415a31dcc9111f6bd8924ba5b4e6
|
||||||
(cd "$liburing_dir" && ./configure --libdir=/usr/lib64 && make install)
|
(cd "$liburing_dir" && ./configure --libdir=/usr/lib64 && make install)
|
||||||
|
echo /usr/lib64 > /etc/ld.so.conf.d/spdk-liburing.conf
|
||||||
ldconfig
|
ldconfig
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user