OpenSSL 1.0.2m on macOS

前端 未结 6 677
渐次进展
渐次进展 2020-12-13 10:15

For building one particular library I need openssl library version 1.0.2m with devel package. I am working on macOS. Using brew install openssl installs latest

6条回答
  •  臣服心动
    2020-12-13 10:54

    Other solutions won't work because you will get this error "Calling Installation of openssl from a GitHub commit URL is disabled! Use 'brew extract openssl' to stable tap on GitHub instead." the following steps will fix it:

    1. First go to the local installation of homebrew
    cd /usr/local/Homebrew/
    
    1. Homebrew 2.5 remove the option to install formulas directly from git repos so we need to checkout an older version
    git checkout 2.3.0
    
    1. Install openssl latest 1.0.x version
    HOMEBREW_NO_AUTO_UPDATE=1 brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
    
    1. Go back to current version of homebrew
    git co -
    
    1. Tell brew to use the old version of openssl this way you can chose wich version to use if you have both intalled
    brew switch openssl 1.0.2t
    

提交回复
热议问题