OSX's openssl version is diffrent from brew's openssl -


i typed openssl version in terminal , got following result:

openssl 0.9.8y 5 feb 2013

so ran brew update , brew upgrade openssl.

which first 1 returned updated homebrew 7afeb3af 8cabfe85., , second 1 returned openssl-1.0.1g installed. typed brew link --force openssl.

after above procedure typed openssl version , got same result

openssl 0.9.8y 5 feb 2013.

how can update openssl on mac osx 10.9.3?

so here's going on. have 2 copies of openssl.

  1. version 0.9.8 - located @ /usr/bin/openssl, pre-installed on os x
  2. version 1.0.1g - located @ /usr/local/cellar/openssl/1.0.1h/bin/openssl, installed brew.

when ran brew upgrade openssl, ran brew install openssl since brew had not yet install openssl on system. (remember, brew doesn't control software on computer - installed).

turns out message of brew install openssl:

==> caveats ca file has been bootstrapped using certificates system keychain. add additional certificates, place .pem files in   /usr/local/etc/openssl/certs  , run   /usr/local/opt/openssl/bin/c_rehash  formula keg-only, not symlinked /usr/local.  mac os x provides software , installing version in parallel can cause kinds of trouble.  openssl provided os x old software.  there no consequences of you. if build own software , requires formula, you'll need add build variables:      ldflags:  -l/usr/local/opt/openssl/lib     cppflags: -i/usr/local/opt/openssl/include 

this explains os x comes preinstalled. using different non-system openssl may cause issues if change default openssl. hence, brew kindly did not link /usr/local part of path.

i presume wanted upgrade openssl on box because package trying install required newer version. ahoy - message tells you should install software package , point @ new shiny brew openssl.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -