"linker command fail" in MacOS 12.5

seems to be a ‘known issue’

you probably need to set BUILD_ZLIB flag to ‘OFF’ in cmake, & try again…
gl !