mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
fix: Add LD_LIBRARY_PATH when local start milvus (#29287)
#28165 Signed-off-by: luzhang <luzhang@zilliz.com> Co-authored-by: luzhang <luzhang@zilliz.com>
This commit is contained in:
parent
4eddcc2113
commit
56d7225673
@ -26,6 +26,7 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli
|
||||
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
|
||||
done
|
||||
ROOT_DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
|
||||
source ${ROOT_DIR}/scripts/setenv.sh
|
||||
|
||||
MILVUS_CORE_DIR="${ROOT_DIR}/internal/core"
|
||||
MILVUS_CORE_UNITTEST_DIR="${MILVUS_CORE_DIR}/output/unittest"
|
||||
|
||||
@ -24,6 +24,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
else
|
||||
echo "WARN: Cannot find $LIBJEMALLOC"
|
||||
fi
|
||||
export LD_LIBRARY_PATH=$PWD/internal/core/output/lib/:$LD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
echo "Starting rootcoord..."
|
||||
|
||||
@ -24,6 +24,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
else
|
||||
echo "WARN: Cannot find $LIBJEMALLOC"
|
||||
fi
|
||||
export LD_LIBRARY_PATH=$PWD/internal/core/output/lib/:$LD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
echo "Starting standalone..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user