Hi Philip,
I'm trying to package Bustle[1], and so I first need to package ghc-hgettext and ghc-setlocale as dependencies.
Great!
but when I try to package ghc-hgettext[3], I get:
/usr/bin/ld: cannot find -lHSsetlocale-0.0.3-ghc7.4.2 collect2: error: ld returned 1 exit status
Maybe you have a user install of setlocale too?
What does "ghc-pkg list setlocale" say?
You can try "ghc-pkg unregister setlocale" to uninstall the user library.
Ideally Cabal should prefer the system library in this case but I think it doesn't.
Hope that helps, Jens