
Daniel Fischer wrote:
Am Mittwoch, 15. Oktober 2008 14:51 schrieb Paul Johnston:
Many thanks but no joy see below Think it could be gmp which I had to also compile but it passed all its checks.
Seems the linker can't find gmp. Try compiling with the -L/path/to/gmp option (if that works, we at least have identified the problem, of course, for a real fix you would have to include that directory to the linker's search path).
Regards Paul
Cheers, Daniel _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
Sorted :-) paulj@hb-0021209.humanities.manchester:~/haskell/aht/3$ ghc -L=/usr/local/lib/ -o Haq --make Haq.hs [1 of 1] Compiling Main ( Haq.hs, Haq.o ) Linking Haq ... paulj@hb-0021209.humanities.manchester:~/haskell/aht/3$ ./Haq "Bother" "Haq! BotherOr not!" paulj@hb-0021209.humanities.manchester:~/haskell/aht/3$ Tried putting /usr/local/lib in $LD_LIBRARY_PATH but that didn't seem to work, pity. Anyway many, many thanks Paul