Link error while compiling executables
On GHC master (ef786b6c) attempting to build any executable results in a linker error. For instance, cabal install cmdargs
results in,
[37 of 37] Compiling Main ( Main.hs, dist/build/cmdargs/cmdargs-tmp/Main.o )
Linking dist/build/cmdargs/cmdargs ...
/usr/bin/ld: cannot find -lHStransformers-0.3.0.0-ghc7.7.20121009
collect2: error: ld returned 1 exit status
cabal: Error: some packages failed to install:
cmdargs-0.10 failed during the building phase. The exception was:
ExitFailure 1
Yet transformers appears to be installed (although the version suffix doesn't appear to match),
$ ls ~/.cabal/lib/transformers-0.3.0.0/ghc-7.7.20121009/
Control Data HStransformers-0.3.0.0.o libHStransformers-0.3.0.0.a libHStransformers-0.3.0.0_p.a