Haskell GHC构建错误:加载不支持的档案
我正尝试将一个外部cpp库与haskell链接起来。 运行stack build
似乎正确构建它,但是当我尝试运行stack repl
此错误:
ghc: panic! (the 'impossible' happened)
(GHC version 8.0.1 for x86_64-unknown-linux):
Loading archives not supported
app.cabal
executable app-server
...
include-dirs: /usr/local/include
extra-libraries: symengine stdc++ gmpxx gmp
...
stack.yml
flags: {}
packages:
- '.'
extra-include-dirs:
- /usr/local/include
extra-lib-dirs:
- /usr/local/lib
extra-deps: []
extra-package-dbs: []
resolver: lts-7.1
我在mac osx sierra和debian jessie上试了一下。 使用ghc-8.0.1(来自lts-7.1)。 我已经在我的机器上安装了symengine stdc++ gmpxx gmp
。
有谁知道我在这里做错了吗?
链接地址: http://www.djcxy.com/p/64063.html上一篇: Haskell GHC build error: Loading archives not supported
下一篇: Compiling amd64 binary on i386 root with amd64 kernel (Debian)