On Debian I needed the following packages to fix this
sudo apt install libcurl4-openssl-dev libssl-dev
Similarly with yum
package manager
yum install libcurl-devel
If you use dnf
, use
dnf install libcurl-devel
in my case this fixed the problem:
sudo apt-get install libssl-dev libcurl4-openssl-dev python-dev
as explained here
In Alpine linux you should do:
apk add curl-dev python3-dev libressl-dev
Same solution provided by @Michael Rice works for Ubuntu 18.04 as well
sudo apt install libcurl4-openssl-dev libssl-dev
Al thought it is mentioned in comments of Michael's answer but thought highlight for easy of use.
I encountered the same problem whilst trying to get Shinken 2.0.3 to fire up on Ubuntu. Eventually I did a full uninstall then reinstalled Shinken with pip -v
. As it cleaned up, it mentioned:
Warning: missing python-pycurl lib, you MUST install it before launch the shinken daemons
Installed that with apt-get
, and all the brokers fired up as expected :-)
That solved my problem on Ubuntu 14.04:
apt-get install libcurl4-gnutls-dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With