Fatal error utility not found in g++

Solution 1:

The solution is in the warning message: pass '-stdlib=libc++' in the command line when you run the install command. So just add CXX="g++ -stdlib=libc++" to the install/make command.

Solution 2:

The solution is pretty simple, yet hard to find: You need to set the environment variable MACOSX_DEPLOYMENT_TARGET to 10.14 for Mojave and likely 10.15 for Catalina, like so

export MACOSX_DEPLOYMENT_TARGET=10.14

Thanks to @ChristophSchmidl who gave this hint at:

https://github.com/ccxt/ccxt/issues/3710#issuecomment-575627844