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.)
libcurl is the library required for the installation, and once install should be located in /usr/lib. Hope this helps.
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.
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.
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".
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.
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.
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