curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: libcurl - MacOS 10.14 ...

From: Jeroen Ooms via curl-library <>
Date: Tue, 12 Nov 2019 21:37:10 +0100

On Tue, Nov 12, 2019 at 8:51 PM Daniel Stenberg via curl-library
<> wrote:
> On Tue, 12 Nov 2019, Bryan O'Brien via curl-library wrote:
> > Courtesy of curl_version(), heres the version I’m using
> >
> > libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
> >
> > If anyone is aware of a more recent version, or can point me towards some
> > newbie build instructions, I’d appreciate it.
> You build and install libcurl the same way on mac as on any *nix:
> $ ./configure
> $ make
> $ make test (optional)
> $ make install
> For more details, see
> There are also package managers for mac as well, like homebrew, but it's not
> clear to be if they offer libcurl installs (like with headers etc).

Yes they do. There are two versions: one build with macos secure
transport, and one build with openssl+nghttp2:


Because this homebrew package would conflict with a native macos
version of curl, it is not automatically linked into /usr/local, so
you need to set PKG_CONFIG_PATH. For example use this to build the
crawler example against the latest curl with http2 support:

   brew install curl-openssl pkgconfig
   curl -OL
   export PKG_CONFIG_PATH="/usr/local/opt/curl-openssl"
   cc -o crawler crawler.c $(pkg-config --cflags --libs libxml-2.0 libcurl)

Received on 2019-11-12