Skip to content

Commit cdcb80a

Browse files
committed
Export LD_LIBRARY_PATH before running binaries.
1 parent a0ee974 commit cdcb80a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cmake/tstCMakeInstall.sh.in

+2
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ cd build
203203
cmake .. -DCMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH" || exit 1
204204
make all VERBOSE=1 || exit 1
205205

206+
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/tmp/tstCMakeInstall/local/lib"
207+
206208
./dnbdr1 || exit 1
207209
./icb_arpack_c || exit 1
208210
./icb_arpack_cpp || exit 1

pkg-config/tstAutotoolsInstall.sh.in

+2
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ autoreconf --force --verbose --install
140140
./configure || exit 1
141141
make all || exit 1
142142

143+
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/tmp/tstAutotoolsInstall/local/lib"
144+
143145
./dnbdr1 || exit 1
144146
./icb_arpack_c || exit 1
145147
./icb_arpack_cpp || exit 1

0 commit comments

Comments
 (0)