Homebrew will not run wget command (Library not loaded)

11,093

Solution 1

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

brew uninstall --force gettext
brew install gettext

Solution 2

brew uninstall wget
brew install wget

solved me both gettext and git clone issues.

Solution 3

You can fix it by reinstall gettext

brew reinstall gettext

Solution 4

A simple reinstall of "wget" fixed this issue in my case.

brew reinstall wget

Solution 5

Actually, I have tried a lot of methods, but the command brew reinstall wget solved my problems at last.

Share:
11,093

Related videos on Youtube

Deadface07
Author by

Deadface07

Updated on July 09, 2022

Comments

  • Deadface07
    Deadface07 almost 2 years

    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.

  • Montag
    Montag over 5 years
    Tried this on Mojave, did not fix the issue. If I come up with a solution I'll update here.
  • hat
    hat about 5 years
    Hi there! It seems this solution has already been proposed. On this site, posting duplicate answers is discouraged.
  • Birb
    Birb about 5 years
    Doing this after creating the Cellar and opt folder it needs inside /usr/local and assigning myself as the owner, helped. Thanks for the commands :)
  • Saeesh Tendulkar
    Saeesh Tendulkar almost 4 years
    @Montag Dude. Dont give false hope
  • Montag
    Montag over 3 years
    I never did find a solution, I found another way to solve my personal program problem. There was no false hope given, just honesty. I didn't find it so I didn't post it.