Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the "curl libraries?"

I tried to install curl, the haskell package like so:

cabal install curl

The relevant error is:

configure: error: curl libraries not found, so curl package cannot be built

Where are these "curl libraries?" I already have curl the program on my computer (a Ubuntu 13.04 box.)

like image 503
PyRulez Avatar asked Aug 02 '14 18:08

PyRulez


People also ask

Where is cURL library located in Linux?

libcurl is the library required for the installation, and once install should be located in /usr/lib. Hope this helps.

How do I install cURL library?

Update your Ubuntu box, run: sudo apt update && sudo apt upgrade. Next, install cURL, execute: sudo apt install curl. Verify install of curl on Ubuntu by running: curl --version. Search for libcurl bindings for your programming needs: apt-cache search libcurl | grep python.

Where is libcurl installed?

Libcurl is then installed in $prefix/lib and its header files are installed in $prefix/include and so on. The prefix is set with "configure --prefix". --protocols Lists what particular protocols the installed libcurl was built to support.

What is cURL library in C?

cURL (pronounced like "curl", UK: /kəːl/, US: /kɝl/) is a computer software project providing a library (libcurl) and command-line tool (curl) for transferring data using various network protocols. The name stands for "Client URL".


2 Answers

Search in your package manager for libcurl. libcurl is the library required for the installation, and once install should be located in /usr/lib. Hope this helps.

like image 23
gr1m Avatar answered Oct 01 '22 23:10

gr1m


You need to install the development files for curl. If you are on Ubuntu Linux, then:

$ sudo apt-get install libcurl4-gnutls-dev

And then do the normal cabal installation of curl as usual.

like image 189
Sibi Avatar answered Oct 01 '22 21:10

Sibi