wrapper requires libtinfo.so.5
, which is not present on Arch Linux-based distros
#2657
Labels
can-workaround
old_type: distribution
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Syndrome: support for
libtinfo.so.5
version of a library is not available in the system environment by default. Therefore after update to1.6.0
,haskell-language-server-wrapper
consistently immediately exits on launch & reports: see section Actual Behaviour.it is a consequence of #2650, one can observe
ldd
listslibtinfo.so.5
there.Environment
Arch Linux btw
emacs+lsp-mode
.cabal
files,hie.yaml
Steps to reproduce
Using
ghcup
Install HLS 1.6 on Linux. Select GHC 9.0.2, runhaskell-language-server-wrapper
in the terminal or in IDE.Expected behaviour
Actual behaviour
Solution
libinfo
is an old library, used in terminal application & bundled inncurses
.Arch Linux uses & ships with
ncurses6
& inside itlibinfo6
.libinfo6
does not supportlibinfo5
.So the solution is to install
ncurses5-compat-libs
.For Arch Linux the package is in the AUR: https://aur.archlinux.org/packages/ncurses5-compat-libs/
It would require adding a GPG key:
gpg --recv-keys 'C52048C0C0748FEE227D47A2702353E0F7E48EDB'
That it is a valid key can be checked/or use the same key from
PKGBUILD
source of the package.The text was updated successfully, but these errors were encountered: