Homebrew refusing to link OpenSSL

前端 未结 15 2464
南旧
南旧 2020-11-22 03:51

I\'m on: OSX 10.11.6, Homebrew version 0.9.9m OpenSSL 0.9.8zg 14 July 2015

I\'m trying to play with with dotnetcore and by following their instructions,

I\'

15条回答
  •  悲&欢浪女
    2020-11-22 04:40

    After trying everything I could find and nothing worked, I just tried this:

    touch ~/.bash_profile; open ~/.bash_profile
    

    Inside the file added this line.

    export PATH="$PATH:/usr/local/Cellar/openssl/1.0.2j/bin/openssl"
    

    now it works :)

    Jorns-iMac:~ jorn$ openssl version -a
    OpenSSL 1.0.2j  26 Sep 2016
    built on: reproducible build, date unspecified
    //blah blah
    OPENSSLDIR: "/usr/local/etc/openssl"
    
    Jorns-iMac:~ jorn$ which openssl
    /usr/local/opt/openssl/bin/openssl
    

提交回复
热议问题