On Dec 6, 2020, at 14:19, Mark Anderson wrote:
> I get a lot of these:
>
> ---> Scanning binaries for linking errors
> Could not open /usr/lib/libz.1.dylib: Shared cache only (referenced from
> /Applications/MacPorts/iTerm2.app/Contents/Frameworks/NMSSH.framework/Versions/A/NMSSH)
This commit looks like it might have fixed that issue:
https://github.com/macports/macports-base/commit/601864dfa81b0acf97628e53e46f90cb07f17817
It was included in MacPorts 2.6.4. Are you running that version or later? If
not, run sudo port selfupdate to get it. Or if you're running an earlier
version of master, update your git clone of master and recompile.
If you are already running that version, then it's something else...