I am trying to run cabal install fay fay-base
. However, I get the following error:
src/Test/CommandLine.hs:18:9:
Dynamic linking required, but this is a non-standard build (eg. prof).
You need to build the program twice: once the normal way, and then
in the desired way using -osuf to set the object file suffix.
cabal: Error: some packages failed to install:
fay-0.14.1.0 failed during the building phase. The exception was:
ExitFailure 1
fay-base-0.14.1.0 depends on fay-0.14.1.0 which failed to install.
I am not sure what it is asking me to do when it asks me to "install once the normal way, and then in the desired way".
Any ideas?
Original Post:
I am trying to run cabal install fay fay-base
. However, I get the following error:
/usr/bin/ld: cannot find -lHSsplit-0.2.1.1-ghc7.4.1
collect2: ld returned 1 exit status
cabal: Error: some packages failed to install:
fay-0.14.1.0 failed during the building phase. The exception was:
ExitFailure 1
fay-base-0.14.1.0 depends on fay-0.14.1.0 which failed to install.
I have received this error on another package install but I cannot remember which one (I believe it was one of the game packages so it was easier to give up). I've tried googling around for -lHSsplit and have been unable to find any help.
Does anyone know what dependency I need to install?
This was solved by installing split cabal install split
as suggested by Daniel Fischer.
Thanks in advance!