Where are the "curl libraries?"
Asked Answered
B

2

5

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.)

Basilius answered 2/8, 2014 at 18:16 Comment(0)
S
16

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.

Sully answered 2/8, 2014 at 18:40 Comment(1)
I wish Cabal/Stack made this more obvious.Reo
B
1

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.

Brinn answered 2/8, 2014 at 18:24 Comment(2)
This is no package called "libcurl" but I do have "libcurl3". It is not in /usr/lib. Do have anything I could do?Basilius
its the same thing. libcurl3 is precisely the third major version of the curl librariesBrinn

© 2022 - 2024 — McMap. All rights reserved.