Homebrew will not run wget command (Library not loaded)

Deadface07 picture Deadface07 · May 31, 2018 · Viewed 9k times · Source

I received the following message when I try to use wget command after installation on Homebrew (running Mac High Sierra 10.13).

dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: /usr/local/bin/wget
  Reason: image not found
Abort trap: 6

I tried to reinstall wget. Issue still persists.

Answer

Ken Shirriff picture Ken Shirriff · Jun 14, 2018

wget gave me that error after migrating to a new macbook. What worked for me was

brew uninstall --force gettext
brew install gettext