At least on my FreeBSD 11 box, the current definition of
$(with_temp_install) is not sufficient to ensure that the various .so
files are loaded from tmp_install and not from the compiled rpath (which
will be the final install dir, which may of course contain old
libraries).
LD_LIBRARY_PATH_RPATH=1 fixes this (by giving LD_LIBRARY_PATH priority
over the DT_RPATH tag in the object).
Is this also an issue on any other platforms?
--
Andrew (irc:RhodiumToad)