
This isn't a ghc specific question as I've just found a similar problem with gcc, but I was hoping someone here could lend me a hand...I recently installed RedHat 7.2 on my x86 laptop and then immediately installed ghc 5.02.3 from rpm. Compilation works fine as does interpretation but linking doesn't and it seems to be a problem with ld. It complains "/usr/bin/ld: cannot find -lc". A similar thing happens in C, except in that ld cannot find -lc. I'm wondering if anyone has any idea what this means and how to fix it (I'm not a *nix hacker by any means). I've attached outputs from ghc and gcc when run with -v; the important error is at the very bottom. The test programs where, for haskell, "main = print 5" and for c "int main() { printf("Hello world"); }". Thanks for any help! - Hal -- Hal Daume III "Computer science is no more about computers | hdaume@isi.edu than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume