diff --git a/cmake/tstCMakeInstall.sh.in b/cmake/tstCMakeInstall.sh.in index b7d0264..117b3f4 100755 --- a/cmake/tstCMakeInstall.sh.in +++ b/cmake/tstCMakeInstall.sh.in @@ -203,6 +203,8 @@ cd build cmake .. -DCMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH" || exit 1 make all VERBOSE=1 || exit 1 +export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/tmp/tstCMakeInstall/local/lib" + ./dnbdr1 || exit 1 ./icb_arpack_c || exit 1 ./icb_arpack_cpp || exit 1 diff --git a/pkg-config/tstAutotoolsInstall.sh.in b/pkg-config/tstAutotoolsInstall.sh.in index 46500aa..31d16e6 100755 --- a/pkg-config/tstAutotoolsInstall.sh.in +++ b/pkg-config/tstAutotoolsInstall.sh.in @@ -140,6 +140,8 @@ autoreconf --force --verbose --install ./configure || exit 1 make all || exit 1 +export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/tmp/tstAutotoolsInstall/local/lib" + ./dnbdr1 || exit 1 ./icb_arpack_c || exit 1 ./icb_arpack_cpp || exit 1