zlib build error with GHC

前端 未结 5 1456
我寻月下人不归
我寻月下人不归 2021-02-19 10:34

I\'m using a VM with the following configuration:

  • Arch Linux (3.0-ARCH kernel)
  • GHC 7.0.3
  • cabal-install 0.10.2
  • Cabal library 1.10.1.0
5条回答
  •  轮回少年
    2021-02-19 11:01

    I'm still encountering this with the haskell package zlib-0.5.4.2 on GHC 7.8.4. I think the issue is a non-standard location of the library. I solved it by hand-installing zlib 1.2.8 and then doing:

    cabal install zlib --extra-lib-dirs=/usr/local/lib --extra-include-dir=/usr/local/include
    

提交回复
热议问题