GHC Alpine bindist is linked against libgmp but the download page says it's not
https://www.haskell.org/ghc/download_ghc_8_10_5.html#binaries claims:
Alpine Linux 3.10 for x86-64. This is a complete build, including interactive system, profiling libraries and documentation. Unlike our other binary distributions, this links against the
integer-simple
big-integer backend and therefore does not requirelibgmp
.
But it is apparently linked against libgmp
:
$ readelf -d ghc-8.10.5-x86_64-unknown-linux/bin/ghc | grep gmp
0x0000000000000001 (NEEDED) Shared library: [libHSinteger-gmp-1.0.3.0-ghc8.10.5.so]
0x0000000000000001 (NEEDED) Shared library: [libgmp.so.10]
Same thing for the 8.10.2 bindist; I haven't checked other ones.
CC @bgamari