dyld[2012]: terminating because inserted dylib '/usr/local/lib/libjemalloc.2.dylib' could not be loaded: tried: '/usr/local/lib/libjemalloc.2.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libjemalloc.2.dylib' (no such file), '/usr/local/lib/libjemalloc.2.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e'))
dyld[2012]: tried: '/usr/local/lib/libjemalloc.2.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libjemalloc.2.dylib' (no such file), '/usr/local/lib/libjemalloc.2.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e'))
Usage: ./scripts/mac/verify.sh <process_name>
Originally thought we just needed DYLD_INSERT_LIBRARIES, perhaps there is more
Example Mac CI run