
Link it $ sudo ln -s /usr/local/Cellar/openssl/1.0.2j/bin/openssl /usr/bin/opensslįor 10.12.2 you will get…(and maybe this should help) ln: /usr/bin/openssl: Operation not permitted 3. You should see (after $ brew install openssl) lrwxr-xr-x 1 katopz admin 24 Sep 29 00:21 /usr/local/opt/openssl ->. Ensure it exist $ ls -l /usr/local/opt/openssl Instead, pass the full include/library paths to your compiler e.g.: -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/libĪnd yes we’re doom! But no worry we can manually link it with steps below.

You’ll see… Warning: Refusing to link: openssl Linking keg-only openssl means you may end up linking against the insecure, deprecated system OpenSSL while using the headers from Homebrew’s openssl.
