나는 노력한다
brew install tmux
그것은 tmux를 사용하려고 할 때 설치하지만, 아마도 이전에 실패했고 완전히 제거되지 않았기 때문에 그것과 libevent를 모두 설치하려고 시도하지 않았습니다.
$ 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를 설치하려고했지만 다음과 같은 결과가 나타납니다.
$ brew install libevent
Warning: libevent-2.0.21 already installed, it's just not linked
그래서 나는 시도했다
$ brew link libevent
하지만 나는
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
그래서 나는 시도했다
$ brew link --overwrite libevent
하지만 나는
Linking /usr/local/Cellar/libevent/2.0.21...
Warning: Could not link libevent. Unlinking...
Error: Permission denied - /usr/local/include/event2/util.h
그래서 나는 시도했다
$ sudo brew link --overwrite libevent
암호:
하지만 나는
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.
나는 붙어있다.