Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

GHCi failed to load pthread on windows. #314

Open
Luab opened this issue Sep 30, 2018 · 2 comments
Open

GHCi failed to load pthread on windows. #314

Luab opened this issue Sep 30, 2018 · 2 comments
Assignees
Labels

Comments

@Luab
Copy link

Luab commented Sep 30, 2018

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
Copy link
Contributor

randen commented Sep 30, 2018

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 randen added the Windows label Sep 30, 2018
@randen randen self-assigned this Sep 30, 2018
@Luab
Copy link
Author

Luab commented Oct 6, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants