Homebrew refusing to link OpenSSL

前端 未结 15 2459
南旧
南旧 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

    By default, homebrew gave me OpenSSL version 1.1 and I was looking for version 1.0 instead. This worked for me.

    To install version 1.0:

    brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
    

    Then I tried to symlink my way through it but it gave me the following error:

    ln -s /usr/local/Cellar/openssl/1.0.2t/include/openssl /usr/bin/openssl
    ln: /usr/bin/openssl: Operation not permitted
    

    Finally linked openssl to point to 1.0 version using brew switch command:

    brew switch openssl 1.0.2t
    Cleaning /usr/local/Cellar/openssl/1.0.2t
    Opt link created for /usr/local/Cellar/openssl/1.0.2t
    

提交回复
热议问题