curl-dev package cannot be installed side by side with openssl-dev in Alpine >= 3.8
The problem is that starting with 3.8, the curl-dev package now has
libressl-dev as a dependency. And libressl-dev and openssl-dev are
conflicting, since they use header files that are of the same names and
in the same location in both packages.
This prevents building .NET Core on Alpine 3.8, since it depends on both
curl-dev and openssl-dev.
It was working fine on 3.6 and 3.7, since the curl-dev didn’t have the
libressl-dev as a dependency.
curl-dev dependencies in 3.7:
- libcurl
- pkgconf
curl-dev dependencies in 3.8:
- libcurl
- libressl-dev
- libssh2-dev
- nghttp2-dev
- pkgconf
- zlib-dev
Could the dependency be changed to just libressl instead of libressl-dev (or to be consistent, change all the *-dev dependencies to the respective non-dev ones)? That would fix the issue since libressl and openssl packages can be installed side by side.
(from redmine: issue id 9240, created on 2018-08-14)