can't install ghcup on debian buster: libHSterminfo not found
hello,
on a fresh debian system,
sudo apt install curl g++ gcc libgmp10 make libncurses5-dev xz-utils coreutils
curl https://get-ghcup.haskell.org -sSf | sh
led me to this error message
[ Info ] verifying digest of: ghc-8.8.3-x86_64-deb9-linux.tar.xz [ Info ] Unpacking: ghc-8.8.3-x86_64-deb9-linux.tar.xz to /tmp/ghcup-mBaAID [ Info ] Installing GHC (this may take a while) [ ghc-make ] "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy compiler stage2 "strip" '' '/home/mc/.ghcup/ghc/8.8.3' '/home/mc/.... [ ghc-make ] Installing library in /home/mc/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/ghc-8.8.3 [ ghc-make ] "/home/mc/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/bin/ghc-pkg" --force --global-package-db "/home/mc/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/package... [ ghc-make ] /home/mc/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/bin/ghc-pkg: error while loading shared libraries: libHSterminfo-0.4.1.4-ghc8.8.3.so: cann... [ ghc-make ] make[1]: *** [ghc.mk:993: install_packages] Error 127 [ ghc-make ] make: *** [Makefile:51: install] Error 2 [ Error ] Build failed with NonZeroExit 2 "make" ["install"]