Come posso aggiornare il mio openssl? Un link simbolico non funziona per / usr / local / bin / OpenSSL

2

Ho problemi ad aggiornare la mia versione di openssl in modo che possa far funzionare Fastlane.

Qualcuno può spiegare dove dovrebbe essere OpenSSL e in che modo diversi ambienti vi si agganciano?

MACOS:~ lamont$ openssl version
OpenSSL 0.9.8zh 14 Jan 2016
MACOS:~ lamont$ ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'
OpenSSL 1.0.2k  26 Jan 2017
MACOS:~ lamont$ rm /usr/local/bin/openssl
rm: /usr/local/bin/openssl: No such file or directory
MACOS:~ lamont$ cd /usr/local/Cellar/openssl
MACOS:openssl lamont$ ls
1.0.2k
MACOS:openssl lamont$ sudo ln -s /usr/local/Cellar/openssl/1.0.2k/bin/openssl /usr/local/bin/openssl
Password:
MACOS:openssl lamont$ which openssl
/usr/local/bin/openssl
MACOS:openssl lamont$ openssl version
OpenSSL 0.9.8zh 14 Jan 2016
MACOS:openssl lamont$ 
    
posta random65537 12.04.2017 - 19:08
fonte

1 risposta

1

Se corri

brew info openssl

avrai la risposta:

This formula is keg-only, which means it was not symlinked into /usr/local, because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have this software first in your PATH run: echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

    
risposta data 26.05.2017 - 23:55
fonte

Leggi altre domande sui tag