numam-dpdk/devtools
Ruifeng Wang aafc3ce7f2 devtools: add path to additional shared object files
Drivers librte_mempool_ring.so and librte_pmd_null.so are loaded by
librte_eal.so when running testpmd.
In Ubuntu Xenial, driver path is installed to RPATH on testpmd. This
allows librte_eal.so to find drivers by using the RPATH.
However, in Ubuntu Bionic, driver path is installed to RUNPATH instead.
The RUNPATH on testpmd is not available by librte_eal.so and therefore
lead to driver load failure:

EAL: Detected 32 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: librte_mempool_ring.so: cannot open shared object file:
					No such file or directory
EAL: FATAL: Cannot init plugins
EAL: Cannot init plugins

Add 'drivers' into LD_LIBRARY_PATH so that testpmd can find and make
use of these shared libraries.

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-01-14 09:45:23 +01:00
..
cocci devtools/cocci: create safer version of strlcpy script 2019-04-04 22:45:33 +02:00
build-tags.sh devtools: fix building kernel component tags 2019-07-31 00:22:33 +02:00
check-abi-version.sh devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
check-dup-includes.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
check-forbidden-tokens.awk devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
check-git-log.sh devtools: check coverity and bugzilla tags 2019-11-28 00:33:58 +01:00
check-includes.sh eal: remove exec-env directory 2019-04-02 21:49:35 +02:00
check-maintainers.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
check-symbol-change.sh devtools: fix check of symbol added as stable API 2019-05-10 00:19:31 +02:00
check-symbol-maps.sh devtools: check orphan symbols in map files 2018-05-29 17:43:33 +02:00
checkpatches.sh devtools: fix cleanup of checkpatch temporary file 2019-10-21 16:19:00 +02:00
cocci.sh devtools: use a common prefix for temporary files 2018-10-01 23:51:45 +02:00
get-maintainer.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
git-log-fixes.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
load-devel-config devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
test-build.sh devtools: fix debug build test 2019-12-16 16:27:50 +01:00
test-meson-builds.sh devtools: control location of test builds 2019-11-28 22:31:53 +01:00
test-null.sh devtools: add path to additional shared object files 2020-01-14 09:45:23 +01:00
update_version_map_abi.py devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
update-abi.sh devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
validate-abi.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00