OS: Ubuntu 14.04 64
brew:
Homebrew 1.2.4-2-g59a338502
Homebrew/homebrew-core (git revision 7d09d; last commit 2017-07-19)
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (caskroom/cask, homebrew/core).
==> Updated Formulae
expat ✔
==> Upgrading 1 outdated package, with result:
openssl 1.0.2l
==> Upgrading openssl
/home/tiankai/.linuxbrew/opt/curl/bin/curl: symbol lookup error: /home/tiankai/.linuxbrew/lib/libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos
/home/tiankai/.linuxbrew/opt/curl/bin/curl: symbol lookup error: /home/tiankai/.linuxbrew/lib/libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos
==> Downloading https://www.openssl.org/source/openssl-1.0.2l.tar.gz
/home/tiankai/.linuxbrew/opt/curl/bin/curl: symbol lookup error: /home/tiankai/.linuxbrew/lib/libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos
Trying a mirror...
==> Downloading https://dl.bintray.com/homebrew/mirror/openssl-1.0.2l.tar.gz
/home/tiankai/.linuxbrew/opt/curl/bin/curl: symbol lookup error: /home/tiankai/.linuxbrew/lib/libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos
Trying a mirror...
==> Downloading https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.0.2l.tar.gz
/home/tiankai/.linuxbrew/opt/curl/bin/curl: symbol lookup error: /home/tiankai/.linuxbrew/lib/libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos
Error: Failed to download resource "openssl"
Download failed: https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.0.2l.tar.gz
Please enclose copy-and-paste blocks in triple back ticks.
See https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code
Please report the output of brew gist-logs openssl
Please check the output of brew doctor and heed its warnings.
Please ensure that the environment variable LD_LIBRARY_PATH is not set.
unset LD_LIBRARY_PATH
Try…
brew fetch openssl
brew upgrade openssl
@sjackman Thank you! I solved the problem according to your method!
mark
Most helpful comment
@sjackman Thank you! I solved the problem according to your method!