Skip to content

Unexpected usage error with libkrb5 and GLIBC 2.32 in ubuntu 21.04 #2186

Open
@ProofOfKeags

Description

@ProofOfKeags

Your environment

hls stack and ghc were all installed with GHCUP, Yesod Project with Template Haskell

Which OS do you use:
Distributor ID: Pop
Description: Pop!_OS 21.04
Release: 21.04
Codename: hirsute
Which lsp-client do you use:
VSCode
Describe your project (alternative: link to the project):
stack/hpack

Steps to reproduce

  1. install hls on PopOS/Ubuntu 21.04 using GHCUP.
  2. Create basic Yesod project
  3. Start up HLS
  4. Attempt to use the evaluation plugin or just look int he problems tab of VSCode

Expected behaviour

No link time errors preventing normal function of HLS

Actual behaviour

<command line>: /lib/x86_64-linux-gnu/libkrb5.so.26: symbol pthread_cond_destroy version GLIBC_2.3.2 not defined in file libpthread.so.0 with link time reference

Include debug information

Execute in the root of your project the command haskell-language-server --debug . and paste the logs here:

Speculation

I think somewhere in both the TemplateHaskell execution or in the Evaluation plugin it seems that there is a broken reference to kerberos/glibc on the newest ubuntu/popos system. It's not clear why kerberos is used at all in any of this, so I am left scratching my head here. Secondly, this may have to do with the fact that when ghcup installed ghc it pulled the binaries for fedora which seems odd since Ubuntu/PopOS isn't a RHEL based operating system. It is entirely possible that this error lies in ghcup and has nothing to do with HLS but it is manifesting in HLS right now so I figured I'd cut the ticket. Happy to provide any additional info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    old_type: distributiontype: 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