LoginSignup
0

More than 5 years have passed since last update.

突然tigが使えなくなった解決方法

Last updated at Posted at 2017-07-20

問題

突然こんなERRORがでて、tigコマンドが使えなくなったので、いろいろ調べたが、結構手間取ったので書いておく

tig
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
  Referenced from: /usr/local/bin/tig
  Reason: image not found

解決策

最終的には、brew をUpgradeしたら治った。

brew upgrade

これでtigは使えるようになったが、tigを使うと毎回以下のWarningが出るようになった

tig warning: /usr/local/etc/tigrc:90: status-untracked-dirs has been renamed to status-show-untracked-dirs
tig warning: Errors while loading /usr/local/etc/tigrc.

これは次のコマンドで削除して解決した。rm -f /usr/local/etc/tigrc

試したもの

ほかにもbrew upgrade bashでbashをupgradeすればよいと書いてあったのもあったので試したが、だめだった

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0