ubuntu 20.04 install curl / microhttpd
Colin Watson
cjwatson at ubuntu.com
Wed Sep 23 23:37:48 UTC 2020
On Wed, Sep 23, 2020 at 11:46:28AM -0600, R C wrote:
> when I install curl/curldev it appears for example that curl.h gets
> installed in /usr/include//aarch64-linux-gnu/curl instead of
> /usr/include/curl
This is intentional; there are some complex situations where it's useful
to have curl development libraries for multiple architectures installed
at once, and moving the headers to a multiarch location is part of
supporting that. You should use pkg-config (e.g. "pkg-config --cflags
libcurl") to detect the options you need to pass to the compiler;
similarly "pkg-config --libs libcurl" for the linker.
> rocr at f007th:~/Projects$ sudo apt-get install libcurl-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package libcurl-dev is a virtual package provided by:
> libcurl4-openssl-dev 7.68.0-1ubuntu2.2
> libcurl4-nss-dev 7.68.0-1ubuntu2.2
> libcurl4-gnutls-dev 7.68.0-1ubuntu2.2
> You should explicitly select one to install.
Yes, you want one of these three depending on which SSL implementation
you want; if I remember correctly, this is for some unfortunate licence
compatibility reasons.
--
Colin Watson (he/him) [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list