安装Haskell平台后尝试运行ghc时未加载共享库错误

安装Haskell平台后尝试运行ghc时未加载共享库错误,haskell,haskell-platform,Haskell,Haskell Platform,我刚从Antergos安装的tar ball中安装了Haskell platform core,当我尝试运行ghc时,出现了一个错误 `/usr/local/haskell/ghc-8.4.3-x86_64/lib/ghc-8.4.3/bin/ghc: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory` 不确定这是我能解决的

我刚从Antergos安装的tar ball中安装了Haskell platform core,当我尝试运行ghc时,出现了一个错误

`/usr/local/haskell/ghc-8.4.3-x86_64/lib/ghc-8.4.3/bin/ghc: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory`

不确定这是我能解决的问题还是haskell平台的问题。

ghc通过平台链接发布了针对libtinfo.so.5的内容,显然您的系统没有。根据发行版的详细信息,您可能可以为此安装compat软件包,或者使用或中的建议这似乎是一个类似的问题(链接中有关于如何修复它的提示):。。。但也许你已经读过了,因为我刚刚在谷歌上搜索了错误信息:)