The rpath of the executable is supposed to be properly set to be
compatible with link time library search paths. Why isn't that
working the way it should?
We do have the option of using AC_TRY_RUN to see if an executable will
actually run in our chosen environment. We could have tricky code
that checks compile-time headers, link-time libraries, and run-time
libraries for compatibility...
Martin