Skip to content

hls-1.8.0.0 is broken on Ubuntu 20.04 due to missing GLIBC_2.34 #3160

Closed
@agustinmista

Description

@agustinmista

Hi!

The latest release seems to be broken for me on Ubuntu 20.04:

[Error - 5:07:07 PM] Connection to server is erroring. Shutting down server.
/home/agustin/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.8.0.0_stack-2.7.5/haskell-language-server-wrapper: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/agustin/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.8.0.0_stack-2.7.5/haskell-language-server-wrapper)

For reference, here is the current version of GLIBC shipped with Ubuntu 20.04:

$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31

This happened today after VSCode (forcibly) asked me to update it to 1.8.0.0.

In the meantime, I managed to circumvent the problem in VSCode by reverting HLS back to 1.7.0.0 in the settings.json file:

    "haskell.toolchain": {
      "hls" : "1.7.0.0"
    }

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