0
0

More than 3 years have passed since last update.

homebrewが原因でgitが使えなくなったときの対処法

Posted at

何が起きたか

homebrew install <hoge>

の実行後に、homebrew で入れたgitで以下のエラーが発生するようになってしまった。

~/code ❯❯❯ git                                                                                        ✘ 130
dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: /usr/local/bin/git
  Reason: image not found
[1]    19406 abort      git

解決策

brew uninstall --force gettext
brew install gettext

参考文献

image.png

0
0
0

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
0