繁体   English   中英

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

[英]Not loading shared libraries error when trying to run ghc after installing Haskell Platform

我刚刚从Antergos安装中的tar球安装了Haskell平台核心,当我尝试运行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软件包,或使用https://forums.opensuse.org/showthread.php/446927-missing-library-libtinfo-so-5中的建议或https://github.com/Valloric/YouCompleteMe/issues/778

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM