cURL / Mailing Lists / curl-users / Single Mail


Re: HTTP2 support and case use

From: Daniel Stenberg <>
Date: Tue, 27 Jan 2015 23:04:01 +0100 (CET)

On Tue, 27 Jan 2015, Gusano, Javier wrote:

> But when I try to use this command, CURL can't use the HTTP2 protocol:
> curl --http2 --url
> curl: (1) Unsupported protocol
> ┬┐Could some one show me how to install and use CURL with HTTP2 support step
> by step?

I guess that if you do 'curl -V' on that install, you'll see that it still
loads the old (formerly installed) libcurl without HTTP2 support.

This probably because will load libcurl from the old library prior to
loading it from the lib you installed the new version in.

You can override that with LD_LIBRARY_PATH or by editing /etc/ or

Or maybe I guessed wrong.


List admin:
Received on 2015-01-27