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.
The “wget command not found” problem occurs when the system does not have the wget package installed on it. It can be fixed by installing the wget package on the system using the apt repository on the Ubuntu systems. For the CentOS systems, the yum command will be utilized to install the wget tool.
WGET is a free tool to crawl websites and download files via the command line.
Other interesting Mac alternatives to Wget are cURL, ArchiveBox, HTTPie for Terminal and webui-aria2. Wget alternatives are mainly Download Managers but may also be Website Downloaders or HTTP Clients. Filter by these if you want a narrower list of alternatives or looking for a specific functionality of Wget.
wget
gave me that error after migrating to a new macbook. What worked for me was
brew uninstall --force gettext
brew install gettext
brew uninstall wget
brew install wget
solved me both gettext and git clone issues.
You can fix it by reinstall gettext
brew reinstall gettext
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With