[Haskell-cafe] Haskell 6.6 problem

Dave Feustel dfeustel at mindspring.com
Mon Mar 5 01:22:09 EST 2007

make and make install of ghc 6.6 completed successfully,
but exe generated by ghc fails to load.

main :: IO()
main =	putStr "This is a test\n"

ghc test.hs 
compilation IS NOT required
/usr/bin/ld: cannot find -lgmp
collect2: ld returned 1 exit status

Is there a simple way to fix this?


More information about the Haskell-Cafe mailing list