Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build haskell-language-server on new reflex-platform 1.2.0.0 version #834

Open
iogrt opened this issue Jan 26, 2024 · 2 comments
Open

Comments

@iogrt
Copy link

iogrt commented Jan 26, 2024

I was previously able to build haskell-language-server as I explained here: #747 (comment)

Now on the new reflex-platform version, I get the following error:

<command line>: /nix/store/nprym6lf8lzhp1irb42lb4vp8069l5rj-glibc-2.32-54/lib/libpthread.so.0: undefined symbol: __libc_siglongjmp, version GLIBC_PRIVATE
Error: cabal: Failed to build hlint-3.2.8 (which is required by
exe:haskell-language-server-wrapper from haskell-language-server-2.2.0.0 and
exe:haskell-language-server from haskell-language-server-2.2.0.0).

I know reflex-platform doesn't support haskell-language-server, but I'd still like to try and fix this as for me HLS is essential, can you provide more details as to what is going on? If I were to guess it is related to the nixpkgs bump.

@cidkidnix
Copy link
Contributor

You'll probably want to remove your ~/.cabal directory if you've ran cabal install to install HLS. What probably ended up happening is the glibc version got changed, which usually causes these kinds of issues.

Currently reflex-platform is using glibc 2.35

@ali-abrar
Copy link
Member

Did removing ~/.cabal fix the problem?

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

No branches or pull requests

3 participants