Yapmaya çalışıyorum
brew install tmux
yükler, ancak, muhtemelen önceki başarısız ve tam olarak kaldırılmamış demlemek için hem onu hem de libevent'i yüklemeye çalışır, tmux kullanmaya çalıştığımda
$ tmux
dyld: Library not loaded: /usr/local/lib/libevent-2.0.5.dylib
Referenced from: /usr/local/bin/tmux
Reason: image not found
Trace/BPT trap: 5
Libevent'i yüklemeye çalıştım ama aldım:
$ brew install libevent
Warning: libevent-2.0.21 already installed, it's just not linked
bu yüzden denedim
$ brew link libevent
ama aldım
Linking /usr/local/Cellar/libevent/2.0.21...
Warning: Could not link libevent. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/libevent/2.0.21/include/event2/util.h
Target /usr/local/include/event2/util.h already exists. You may need to delete it.
To force the link and overwrite all other conflicting files, do:
brew link --overwrite formula_name
To list all files that would be deleted:
brew link --overwrite --dry-run formula_name
bu yüzden denedim
$ brew link --overwrite libevent
ama aldım
Linking /usr/local/Cellar/libevent/2.0.21...
Warning: Could not link libevent. Unlinking...
Error: Permission denied - /usr/local/include/event2/util.h
bu yüzden denedim
$ sudo brew link --overwrite libevent
Parola:
ama aldım
Error: Cowardly refusing to `sudo brew link`
You can use brew with sudo, but only if the brew executable is owned by root.
However, this is both not recommended and completely unsupported so do so at
your own risk.
Sıkıştım.