scripts/pkgdep: Install liburing lib in /usr/lib64.
In some OSes (e.g., Fedora30), /usr/lib is not one of the default library loading paths. So Let's change it into /usr/lib64. To address: #1471 Change-Id: I89a66b6096fc1096be7f7e7bb6414f0998b3d974 Signed-off-by: Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3261 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
0555074965
commit
08b9603531
@ -33,7 +33,7 @@ function install_liburing() {
|
||||
local GIT_REPO_LIBURING=https://github.com/axboe/liburing.git
|
||||
local liburing_dir=/usr/local/src/liburing
|
||||
|
||||
if [[ -e /usr/lib/liburing.so ]]; then
|
||||
if [[ -e /usr/lib64/liburing.so ]]; then
|
||||
echo "liburing is already installed. skipping"
|
||||
else
|
||||
if [[ -d $liburing_dir ]]; then
|
||||
@ -42,7 +42,7 @@ function install_liburing() {
|
||||
mkdir $liburing_dir
|
||||
git clone "${GIT_REPO_LIBURING}" "$liburing_dir"
|
||||
fi
|
||||
(cd "$liburing_dir" && ./configure && make install)
|
||||
(cd "$liburing_dir" && ./configure --libdir=/usr/lib64 && make install)
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user