Reputation: 41
Im using
While trying to install zlib via
cabal install zlib
I get:
Building library for zlib-0.6.2.2..
[1 of 5] Compiling Codec.Compression.Zlib.Stream ( dist\build\Codec\Compression\Zlib\Stream.hs, dist\build\Codec\Compression\Zlib\Stream.o )
ghc.exe: could not execute: C:/GitLabRunner/builds/2WeHDSFP/0/ghc/ghc/inplace/mingw/bin/ld.exe
Upvotes: 4
Views: 538
Reputation: 38891
As the comments discuss, that version of ghc is known broken on windows. (cf https://gitlab.haskell.org/ghc/ghc/-/issues/18550). I suggest upgrading to ghc 8.10.5
Upvotes: 1