The problem in a nutshell:
curl --v
results into:
dyld: Library not loaded: /usr/local/php5/lib/libssh2.1.dylib
Referenced from: /usr/local/bin/curl
Reason: image not found
On MacOS Big Sur 11.2.1. So there are two questions:
- How can I fix it?
- (Just out of curiosity) How come a system installed curl depends on php5?
Solutions that didn't work:
brew update && brew upgrade
brew install curl
&brew reinstall curl
- Everything from this thread and this comment in particular
Thanks in advance.