Installation of curl-dev pulls in the correct version.
@TheKevJames: For some reason, alpine is shipping with an outdated header but not curl itself, so we need to either upgrade that header or install the matching version of curl with a version tag.
Summary
It seems that on certain versions of linux
apk add curl
is installing a mismatched version of curl and libcurl:Eg:
and two libcurls get installed side by side:
Installation of
curl-dev
pulls in the correct version.@TheKevJames: For some reason, alpine is shipping with an outdated header but not curl itself, so we need to either upgrade that header or install the matching version of curl with a version tag.