How to install latest version of openssl Mac OS X El Capitan

后端 未结 9 2142
无人及你
无人及你 2020-11-22 07:05

I have used brew install openssl to download and install openssl v1.0.2f, however, it comes back saying:

A CA file has been bootstrapped using c         


        
相关标签:
9条回答
  • 2020-11-22 07:29

    Try creating a symlink, make sure you have openssl installed in /usr/local/include first.

    ln -s /usr/local/Cellar/openssl/{version}/include/openssl /usr/local/include/openssl
    

    More info at Openssl with El Capitan.

    0 讨论(0)
  • 2020-11-22 07:31

    I can't reproduce your issue running El Cap + Homebrew 1.0.x

    Upgrade to Homebrew 1.0.x, which was released late in September. Specific changes were made in the way openssl is linked. The project is on a more robust release schedule now that it's hit 1.0.

    brew uninstall openssl
    
    brew update && brew upgrade && brew cleanup && brew doctor
    

    You should fix any issues raised by brew doctor before proceeding.

    brew install openssl
    

    Note: Upgrading homebrew will update all your installed packages to their latest versions.

    0 讨论(0)
  • 2020-11-22 07:31

    You can run brew link openssl to link it into /usr/local, if you don't mind the potential problem highlighted in the warning message. Otherwise, you can add the openssl bin directory to your path:

    export PATH=$(brew --prefix openssl)/bin:$PATH
    
    0 讨论(0)
提交回复
热议问题