Skip to content

ghc-9.2.1.exe: Could not load `libwinpthread-1.dll'

Summary

ghc-9.2.1.exe: Could not load `libwinpthread-1.dll'  Reason: addDLL: libwinpthread-1.dll or dependencies not loaded. (Win32 error 2150694912

ghc-9.2.1.exe: panic! (the 'impossible' happened)
  (GHC version 9.2.1:
        loadArchive "C:\\tools\\ghc-9.2.1\\mingw\\x86_64-w64-mingw32\\lib\\libpthread.dll.a": failed

Steps to reproduce

Typed ghci in command prompt

Environment

  • GHC version used: 9.2.1

Optional:

  • Operating System: Windows 10 Pro 21H2
  • System Architecture: 64 bit
Edited by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information