【问题标题】:Not loading shared libraries error when trying to run ghc after installing Haskell Platform安装 Haskell 平台后尝试运行 ghc 时未加载共享库错误
【发布时间】:2018-07-20 10:37:58
【问题描述】:

我刚刚从我的 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 平台的问题。

【问题讨论】:

标签: haskell haskell-platform


【解决方案1】:

与 libtinfo.so.5 的平台链接一起分发的 ghc 显然您的系统没有它。根据您发行版的详细信息,您可能可以为此安装兼容包,或使用https://forums.opensuse.org/showthread.php/446927-missing-library-libtinfo-so-5https://github.com/Valloric/YouCompleteMe/issues/778 中的建议

【讨论】:

    猜你喜欢
    • 2012-03-08
    • 1970-01-01
    • 2022-01-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多