I want to run Telegram CLI on my Macbook with latest version of OSX. It worked sometime before, but doesn't work now:
dyld: Library not loaded: /usr/local/opt/libevent/lib/libevent-2.0.5.dylib
Referenced from: /Users/me/tg/bin/./telegram-cli
Reason: image not found
I tried the following -
brew unlink libevent && brew link libevent
brew uninstall --ignore-dependencies libevent
brew install libevent
It doesn't help. Looks like TG GLI looks for libevent 2.0.5, but 2.1.8 is installed by brew.
How can I fix it?