Skip to content

Instantly share code, notes, and snippets.

@gonghao
Created September 27, 2017 06:49
Show Gist options
  • Save gonghao/62804f2dfbe2b1afb88e5c3f4a85c577 to your computer and use it in GitHub Desktop.
Save gonghao/62804f2dfbe2b1afb88e5c3f4a85c577 to your computer and use it in GitHub Desktop.
pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other)
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
export PYCURL_SSL_LIBRARY=openssl
pip install pycurl --compile pycurl --no-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment