gsutil Crashes on macOS Catalina

I need to download a large directory from Google Cloud Platform, which I'd normally use gsutil for.

After upgrading to Catalina (10.15.1) and upgrading everything installed via homebrew, the gsutil utility crashes whenever it's called.

chris@cmg-15 ~ % gsutil
/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin/gsutil: line 223: 23947 Abort trap: 6           "$CLOUDSDK_GSUTIL_PYTHON" $CLOUDSDK_PYTHON_ARGS "${CLOUDSDK_ROOT_DIR}/bin/bootstrapping/gsutil.py" "$@"

python --version returns Python 3.7.0

I've tried removing gsutil etc via homebrew and installing from Google's instructions and get the same error.


Appears to be an issues with the way Homebrew is managing the openssl installation.

The recommended fix worked for me:

ln -s /usr/local/Cellar/[email protected]/1.1.1d/lib/libcrypto.dylib  /usr/local/lib/libcrypto.dylib
ln -s /usr/local/Cellar/[email protected]/1.1.1d/lib/libssl.dylib /usr/local/lib/libssl.dylib

source: Python 3 in macOS Catalina: Fixing the abort trap