Unable to build Bitcoin on Mac Catalina I keep getting this error message after running 'make' or 'make check':
Making check in src
  CXXLD    bitcoind
Undefined symbols for architecture x86_64:
  &quot;__ZN2Db6verifyEPKcS1_PSoj&quot;, referenced from:
      __ZN16BerkeleyDatabase6VerifyER13bilingual_str in libbitcoin_wallet.a(libbitcoin_wallet_a-bdb.o)
  &quot;__ZN5boost10filesystem4path5imbueERKSt6locale&quot;, referenced from:
      __Z16SetupEnvironmentv in libbitcoin_util.a(libbitcoin_util_a-system.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [bitcoind] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

Any ideas on how to fix it?
Berkeley-db from brew which is clang compiled is GCC incompatible. Either Recompile berkeley-db4 with GCC:
HOMEBREW_CC=gcc-10 HOMEBREW_CXX=g++-10 brew reinstall --build-from-source berkeley-db4
or compile Core with clang
Discussion: https://github.com/bitcoin/bitcoin/issues/3228