Cannot build curl 7.62.0

LawsHosting

Verified User
Joined
Sep 13, 2008
Messages
2,367
Location
London UK
I asked this on another thread but I'm going to ask again here.

Debian 7 and 8. I did change the curl build script to add http2 support as instructed here
/custom/curl/configure.curl said:
#!/bin/sh
perl -pi -e 's|CURL_CHECK_PKGCONFIG\(zlib\)|#CURL_CHECK_PKGCONFIG(zlib)|g' configure.ac
LIBS="-ldl" ./configure --with-nghttp2=/usr/local --with-ssl=/usr/local/lib_http2
but 7.62. fails with
Code:
CC ../lib/curl-curl_ctype.o
CCLD curl../lib/.libs/libcurl.so: undefined reference to `SSL_CTX_set_alpn_protos'
../lib/.libs/libcurl.so: undefined reference to `SSL_COMP_free_compression_methods'
../lib/.libs/libcurl.so: undefined reference to `SSL_get0_alpn_selected'
collect2: error: ld returned 1 exit status
Makefile:922: recipe for target 'curl' failed
make[2]: *** [curl] Error 1
make[2]: Leaving directory '/usr/local/directadmin/custombuild/curl-7.62.0/src'
Makefile:1967: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/directadmin/custombuild/curl-7.62.0/src'
Makefile:929: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Any ideas welcome.
 
Back
Top