Wget doesn't work! dyld: Library not loaded


(H Q) #1

Hello,

I just installed Homebrew on a fresh macOS 10.12.6; unfortunately, wget didn’t work:

% brew install wget
==> Downloading https://homebrew.bintray.com/bottles/wget-1.19.1_1.sierra.bottle.tar.gz
Already downloaded: /Users/user/Library/Caches/Homebrew/wget-1.19.1_1.sierra.bottle.tar.gz
==> Pouring wget-1.19.1_1.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/wget/1.19.1_1: 11 files, 1.6MB

% wget
dyld: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib
  Referenced from: /usr/local/bin/wget
  Reason: image not found
Abort

% uname -v
Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64

% /usr/bin/git --version
git version 2.11.0 (Apple Git-81)

Your help is greatly appreciated.

Thank you!!


(H Q) #2

Ok, I believe I figured out the problem. This fixed it:

ln -s ../Cellar/openssl@1.1/1.1.0f /usr/local/opt/openssl@1.1