On a Macbook Pro with the new Apple Silicon M1 chip, compiling libgcrypt finishes successfully, however, make check fails the random test (all other tests PASS) with the following error:
dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib Referenced from: /Users/mbirth/Development/libgcrypt/libgcrypt-1.8.7/tests/.libs/random Reason: image not found random: running '/Users/mbirth/Development/libgcrypt/libgcrypt-1.8.7/tests/.libs/random --in-recursion --early-rng-check' failed FAIL: random
This also fails the test when installing the Homebrew package, so the package is never actually installed. See https://github.com/Homebrew/brew/issues/7857#issuecomment-735269479 .