Error while loading shared libraries when running ghc or ghci

Viewed 229

/home/surya/.ghcup/ghc/8.10.4/lib/ghc-8.10.4/bin/ghc: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory

while running ghc or ghci in terminal

Ghc version:8.10.4

Ghcup version:The GHCup Haskell installer, version v0.1.14.1

Operating system:Elementary os 5.1.7

I already tried installing ncurses from source. That didn't work.

0 Answers
Related