haskell / haskell-platform

Distribution of Haskell with batteries included
http://www.haskell.org/platform/
Other
380 stars 91 forks source link

GHCi failed to load pthread on windows. #314

Open Luab opened 6 years ago

Luab commented 6 years ago

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.

randen commented 6 years ago

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.

Luab commented 6 years ago

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.