Skip to content

Can't build curl with libnghttp2 on MacOs #7514

Closed
@rruipinheiro

Description

@rruipinheiro

I did this

Build libnghttp2 with vcpkg and brew (didn't work).
The configure run is:

./configure --prefix=... --with-openssl=.. --with-zlib=... --with-nghttp2=... --disable-shared --enable-static --disable-ldap

Result

checking for libnghttp2 options with pkg-config... found
configure: -l is -lnghttp2
configure: -I is -I...lib/pkgconfig/../../include
configure: -L is -L...lib/pkgconfig/../../lib
checking for nghttp2_session_set_local_window_size in -lnghttp2... no
...
HTTP2:            no      (--with-nghttp2, --with-hyper)

I expected the following

HTTP2: enable (--with-nghttp2, --with-hyper)

curl/libcurl version

Host - x86_64-apple-darwin20.2.0
curl - 7.78.0-DEV
OpenSSL/1.1.1
libnghttp2 - 1.44.0
zlib - 1.2.11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions