Latest curl package has mismatching curl/libcurl version
The latest curl package (7.59.0) comes with a libcurl version (7.57.0) that doesn’t match. They should be the same in order to work, with the current published package it doesn’t work as expected.
I’m on Alpine 3.4.6.
OS version:
<code class="text">
/opt/app # cat /etc/alpine-release
3.4.6
/opt/app # uname -a
Linux ddd8585d376e 4.9.60-linuxkit-aufs #1 SMP Mon Nov 6 16:00:12 UTC 2017 x86_64 Linux
</code>
curl version output:
<code class="text">
/opt/app # curl -V
curl 7.59.0 (x86_64-alpine-linux-musl) libcurl/7.57.0 OpenSSL/1.0.2j zlib/1.2.8 libssh2/1.7.0
Release-Date: 2018-03-14
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy
</code>
Error occuring:
<code class="text">
/opt/app # curl -O https://bootstrap.pypa.io/get-pip.py
curl: (48) An unknown option was passed in to libcurl
</code>
Also created a curl issue first but we realised this lib mismatch seems to be the error: https://github.com/curl/curl/issues/2413
Thanks
(from redmine: issue id 8703, created on 2018-03-21)