Fix rpath-related Linux "test_shlibload" failure.
authorRichard Levitte <levitte@openssl.org>
Mon, 12 Nov 2018 23:16:55 +0000 (00:16 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 13 Nov 2018 23:41:57 +0000 (00:41 +0100)
commit18289399743da6c3db462f37fc8797738e8acf7c
treeb5b0b6ce1fa84cd37fe27a2d26b9a515b32b3a2f
parent6e624a645300d784eaa97ddda29364081ede36d7
Fix rpath-related Linux "test_shlibload" failure.

When libssl and libcrypto are compiled on Linux with "-rpath", but
not "--enable-new-dtags", the RPATH takes precedence over
LD_LIBRARY_PATH, and we end up running with the wrong libraries.
This is resolved by using full (or at least relative, rather than
just the filename to be found on LD_LIBRARY_PATH) paths to the
shared objects.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7626)
test/recipes/90-test_shlibload.t
util/shlib_wrap.sh.in