> Is removing LD_LIBRARY_PATH along with all other environment variables
> causing the trouble? Yes.

So, in summary, I think the best fix is to make the test a SKIP
if one of these environment variables is set (cf.
gnulib/build-aux/config.libpath):

  LD_LIBRARY_PATH     (used in ELF systems)
  LD_32_LIBRARY_PATH  (used in FreeBSD)
  DYLD_LIBRARY_PATH   (used in macOS)
  LIBPATH             (used in AIX, OS/2)
  PATH                (only on Windows)

Bruno




Reply via email to