Brew: openssl: libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos

Created on 20 Jul 2017  Â·  5Comments  Â·  Source: Linuxbrew/brew

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
build-error

Most helpful comment

@sjackman Thank you! I solved the problem according to your method!

All 5 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jwhite007 picture jwhite007  Â·  5Comments

Elemino picture Elemino  Â·  4Comments

nnmrts picture nnmrts  Â·  5Comments

jonchang picture jonchang  Â·  7Comments

slhck picture slhck  Â·  8Comments