Heppoko Binbo Yarou no Newbie Nikki

旧題: へっぽこびんぼう野郎のnewbie日記 #vZkt8fc6J

tmux開こうとしたら Reason: image not foundって言われた件について

➜  tmux
dyld: Library not loaded: /usr/local/opt/libevent/lib/libevent-2.1.6.dylib
  Referenced from: /usr/local/bin/tmux
  Reason: image not found
[1]    1773 abort      tmux

↑こんなかんじ。

見に行ったらなんかlibeventがアップグレードされてた。なにかのライブラリ入れたときにはずみで入ったのかね。しらんけど。

cd /usr/local/opt/libevent/lib/          
➜  ls
libevent-2.1.7.dylib          libevent_core.a               libevent_extra.dylib          libevent_pthreads-2.1.7.dylib
libevent.a                    libevent_core.dylib           libevent_openssl-2.1.7.dylib  libevent_pthreads.a
libevent.dylib                libevent_extra-2.1.7.dylib    libevent_openssl.a            libevent_pthreads.dylib
libevent_core-2.1.7.dylib     libevent_extra.a              libevent_openssl.dylib        pkgconfig

tmuxをupgradeしたら動くようになった。

➜ brew upgrade tmux 
==> Upgrading 1 outdated package:
tmux 2.9a -> 2.9a_1
==> Upgrading tmux 
==> Downloading https://homebrew.bintray.com/bottles/tmux-2.9a_1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/a6/a6c847ffc57c9e6d730b1dcfb3ca193588cfdb679a60f221a41690ac8ec202a7?__gda__
######################################################################## 100.0%
==> Pouring tmux-2.9a_1.mojave.bottle.tar.gz
==> Caveats
Example configuration has been installed to:
  /usr/local/opt/tmux/share/tmux

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/tmux/2.9a_1: 10 files, 748.5KB
Removing: /usr/local/Cellar/tmux/2.9a... (10 files, 748.5KB)
➜ tmux

なおったけどなぞす