/usr/bin/ld: cannot find -lHSsetlocale-0.0.3-ghc7.4.2 collect2: error: ld returned 1 exit status
Reproduced on F19 with:
$ cabal install setlocale $ cblrpm local setlocale $ sudo rpm -ivh $(arch)/ghc-setlocale* $ cblrpm local hgettext
You can try "ghc-pkg unregister setlocale" to uninstall the user library.
That fixed it for me.
Ideally Cabal should prefer the system library in this case but I think it doesn't.
I think this is fixed with the Cabal in ghc-7.6.3. So upgrading to F20 should also fix this issue.
I am happy to help review the packages.
Jens