I am debugging some test failures (make test) for a Perl module on macOS. I discovered that the problem seems to be that the environment variable DYLD_LIBRARY
make test
DYLD_LIBRARY