haskell - GHC anything results in "ld: library not found for -lgmp" -
i'm trying compile haskell programs on mac running os x 10.10 yosemite, ghc fails every time ld: library not found -lgmp:
$ ghc foo.hs [1 of 1] compiling main ( foo.hs, foo.o ) linking foo ... ld: library not found -lgmp clang: error: linker command failed exit code 1 (use -v see invocation)
help?
the missing thing on system date command line tools xcode. installing recent version xcode-select --install
fixed problem.
Comments
Post a Comment