cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl api nghttp2 co-req ?

From: Catlow, Martyn <martyn.catlow_at_metoffice.gov.uk>
Date: Mon, 11 Jan 2016 11:31:16 +0000

Hi there.

I'm building a simple test case using the curl api with calls to curl_easy_* routines. The sample code compiles fine but fails at link time unable to resolve nghttp2 routines, curl-config -libs confirms:

PRODoe>curl-config --libs
-L/usr/local/curl/lib -lcurl -lnghttp2 -lssh2 -lssl -lcrypto -lssl -lcrypto -lz

PRODoe>curl -V
curl 7.42.1 (i370-ibm-openedition) libcurl/7.42.1 OpenSSL/1.0.2c zlib/1.2.8 icon
v libssh2/1.4.3 nghttp2/1.0.1
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp s
ftp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz CharConv TLS-SRP HTTP2 UnixSocket
s Metalink

All the libraries have been built for the platform (i370-ibm-openedition POSIX unix) by a third party who has also provided ports of libssh, openssl, and libz, but oddly not nghttp2.

So the question: is there any way of building the API program without the nghttp2 library ? Are there any options that can be set to disable, or must the library be present ?

Many thanks, Martyn

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2016-01-11