I've been working the last day or so to get openssl upgraded on my machine. I've followed the answers here and here and now I've got some pretty funny results.
When I type which openssl
I get no response.
When I type openssl version
I get -bash: openssl: command not found
When I type brew install openssl
I get Warning: openssl-1.0.1g already installed.
Why does brew recognize an installation, but my other terminal commands suggest that nothing is installed? What do I need to do to get my system to recognize the installation that brew is seeing, or what do I need to remove to allow me to do a fresh install of openssl?
Edit: 'brew doctor' gives me the following:
Warning: Your XQuartz (2.7.4) is outdated
Please install XQuartz 2.7.5:
https://xquartz.macosforge.orgWarning: Python is installed at /Library/Frameworks/Python.framework
Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.
Best Answer
This command should show you where any openssl binaries may be located on your system:
locate openssl | grep bin/openssl
For homebrew, make sure you have /usr/local/bin and /usr/local/sbin in your $PATH. You can check your current path setting by issuing
echo $PATH
.