I`m new in the Haskell and do the task for my class. I install it in VSCode, downloaded the extension for it and everything works fine. But after installing the Conduit library I get this error:
ghc-9.4.7.exe: C:\cabal\store\ghc-9.4.7\hashable-1.4.3.0-1961fe79003fd705645c177b7f4aca0399a4d276\lib\libHShashable-1.4.3.0-1961fe79003fd705645c177b7f4aca0399a4d276.a(#7:LowLevel.o): Not a x86_64 PE+ file.
ghc-9.4.7.exe: Unknown COFF 4 type in getHeaderInfo.
panic! (the 'impossible' happened)
GHC version 9.4.7:
loadArchive "C:\\cabal\\store\\ghc-9.4.7\\hashable-1.4.3.0-1961fe79003fd705645c177b7f4aca0399a4d276\\lib\\libHShashable-1.4.3.0-1961fe79003fd705645c177b7f4aca0399a4d276.a": failed
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Can you help me with it? Thank you in advance)
(Not an Answer) I have the same problem on Windows 10. I just did a fresh (and first time) install of GHCup following all the default instructions from the page https://www.haskell.org/ghcup/
Then I started following the First steps instruction from https://www.haskell.org/ghcup/steps/ (Yes I'm new too...)
But everything starts to slip when I reached the section: Using external packages in ghci
Trying the cabal-install command:
cabal repl --build-depends asyn
I ended up with the following:Issue obviously seems to come from the hashable-1.4.3.0 module (not a x86_64 PE+ file) in both case.