cabal reports “/usr/bin/ld: cannot find -lHSrandom-1.0.1.1-ghc7.8.3”

后端 未结 1 957
醉酒成梦
醉酒成梦 2021-02-15 16:47

I have Ubuntu 14.04LTS. I downloaded the latest ghc-7.8.3 from http://www.haskell.org/ghc/download_ghc_7_8_3#x86_64linux and installed it to /usr/local

1条回答
  •  别跟我提以往
    2021-02-15 17:22

    I remember having a similar issue when setting up ghc-7.8. It has something to do with the new cabal, which somehow isn't compatible with libraries installed with an older versio (but it fails to give the correct problem reason.

    Anyway, I think reinstalling the packages in question

    cabal install random --reinstall --force-reinstalls 
    

    sets it up so cabal install tf-random should then succeed.

    0 讨论(0)
提交回复
热议问题