From c1a6a7f2cce824d758018b5756da82f11747198a Mon Sep 17 00:00:00 2001 From: Changpeng Liu Date: Thu, 24 Sep 2020 16:29:20 +0800 Subject: [PATCH] readme: add dpdk shared library note to LD_LIBRARY_PATH Change-Id: Ia9d525bb7d0233eaa76f4c59e8f956e87123afd8 Signed-off-by: Changpeng Liu Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4376 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 62006e1f91..10499a761a 100644 --- a/README.md +++ b/README.md @@ -190,13 +190,16 @@ to do the following steps: - run ldconfig specifying the directory containing SPDK shared libraries - provide proper `LD_LIBRARY_PATH` +If DPDK shared libraries are used, you may also need to add DPDK shared +libraries to `LD_LIBRARY_PATH` + Linux: ~~~{.sh} ./configure --with-shared make ldconfig -v -n ./build/lib -LD_LIBRARY_PATH=./build/lib/ ./build/bin/spdk_tgt +LD_LIBRARY_PATH=./build/lib/:./dpdk/build/lib/ ./build/bin/spdk_tgt ~~~