Fix rpath-related Linux "test_shlibload" failure.
authorRichard Levitte <levitte@openssl.org>
Tue, 13 Nov 2018 14:57:34 +0000 (15:57 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 13 Nov 2018 23:39:11 +0000 (00:39 +0100)
commit75711510f08c33f55c40b89b21cb71d1a1679abf
tree1a7e091dc0f37566f8f419f3ffda39e46a39376a
parent013aefc5f03c95f5366cc854ffb02b0df49af90d
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/7631)
test/recipes/90-test_shlibload.t
util/shlib_wrap.sh.in