Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find libcurl or curl/curl.h (RuntimeError)

I am trying to install curb 0.8.0 on a Windows computer but I can not seem to get anywhere. I have been trying every website 3 pages deep on my Google search. Please, anyone have an idea of how I can get this single thing installed. I have downloaded curl and extracted it to C:\curl. I have added it to my path and am running the command:

gem install curb -- --with-curl-lib=C:\curl\bin --with-curl-include=C:\curl\include 

But it doesn't work. I keep getting the same error. Any suggestions?

like image 513
MrMortales Avatar asked Apr 17 '12 03:04

MrMortales


1 Answers

If you are on ubuntu:

sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev 
like image 64
Niels Kristian Avatar answered Sep 20 '22 16:09

Niels Kristian