Skip to content

HLS 2.3.0.0 release possibly borked on Windows - libstdc++-6.dll not found #3822

Closed
@MorrowM

Description

@MorrowM

I've had two people in the FP Discord haskell-tooling channel having issues with HLS 2.3.0.0 on Windows. After some troubleshooting we see there's an issue involving libstdc++-6.dll not being found.

Your environment

Which OS do you use?
Windows 11
Which version of GHC do you use and how did you install it?
9.4.7
How is your project built (alternative: link to the project)?
(Not relevant)
Which LSP client (editor/plugin) do you use?
VSCode+vscode-haskell
Which version of HLS do you use and how did you install it?
2.3.0.0 with ghcup install hls 2.3.0.0
Have you configured HLS in any way (especially: a hie.yaml file)?
No

Steps to reproduce

Simply run haskell-language-server-wrapper-2.3.0.0.exe in a cmd window (powershell crashes silently, cmd shows an actual error).

Expected behaviour

Debug output is displayed.

Actual behaviour

We get the following error window popping up:

image

Additional information

This manifests in VSCode by displaying "The Haskell (PF) server crashed 5 times in the last 3 minutes. The server will not be restarted." The output pane shows:

image

(Sorry for the screenshot, this is what I have from the conversation.)

I suspect #3820 might be related (possibly they had 2.2.0.0 set, which is why running haskell-language-server-wrapper didn't reveal the issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triagetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions