haskell-platform icon indicating copy to clipboard operation
haskell-platform copied to clipboard

GHCi failed to load pthread on windows.

Open Luab opened this issue 7 years ago • 2 comments

After doing clean install of Haskell platform on windows following error happens. image No other mingw instances on path. Tried reinstalling with default locations. Still no success.

Compiling hello world with ghc suceeded, seems that issue is with ghci only.

Luab avatar Sep 30 '18 10:09 Luab

Thanks for your report. In which version of Windows are you seeing this?

Looking at the imports (via dumpbin) of the 64-bit ghci.exe from 8.4.3 on a Window 7 installation, it seems to only depend on kernel32.dll, user32.dll, and msvcrt.dll. Loading ghci.exe, then looking at the loaded dlls (via Process Explorer), I do not see pthread.dll. I looked in the typical locations for dlls on this machine and do not even see a pthread.dll.

randen avatar Sep 30 '18 17:09 randen

I am working on windows 10. Tried installing on another win 10 machine and everything works flawlessly there. Perhaps it is interfering with some other software.

Luab avatar Oct 06 '18 09:10 Luab