Last active
April 17, 2018 19:50
-
-
Save oiwn/144f188d0616bb829c6b8bdd8b7066f6 to your computer and use it in GitHub Desktop.
Build curl library (tested on Ubuntu 16.04)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://curl.haxx.se/download/curl-7.50.0.tar.gz | |
tar -zxvf curl-7.50.0.tar.gz | |
cd curl-7.50.0/ | |
sudo apt install libc-ares-dev | |
sudo apt-get install libc-ares-dev | |
openssl version # check | |
./configure --with-ssl=/usr/local/ssl --enable-ares | |
make | |
sudo make install | |
curl --version | |
which curl | |
export PYCURL_SSL_LIBRARY=openssl | |
export PYCURL_CURL_CONFIG=/usr/local/bin/curl-config | |
export LD_LIBRARY_PATH=/usr/local/lib | |
pip uninstall pycurl | |
pip install --compile pycurl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment