Update OpenSSL on OS X with Homebrew

前端 未结 8 1693
天命终不由人
天命终不由人 2020-11-22 02:04

I\'m using MacOS X 10.7.5 and I need a newer OpenSSL version due to handshake failures. There are several tutorials on the internet and I tried the following:



        
8条回答
  •  滥情空心
    2020-11-22 02:57

    In a terminal, run:

    export PATH=/usr/local/bin:$PATH
    brew link --force openssl
    

    You may have to unlink openssl first if you get a warning: brew unlink openssl

    This ensures we're linking the correct openssl for this situation. (and doesn't mess with .profile)

    Hat tip to @Olaf's answer and @Felipe's comment. Some people - such as myself - may have some pretty messed up PATH vars.

提交回复
热议问题