problems with gmp on RH 6.1?
Simon Marlow
simonmar at microsoft.com
Thu Jun 20 08:45:56 EDT 2002
> > GHC does require GMP 3. Did you build & install GHC
> yourself, from an
> > RPM, or from a .tar.gz binary distribution?
>
> From a .tar.gz binary distribution (the one that says "This
> build was
> done on a RedHat 6.2 box.")
>
> > Does your installed GHC manage to build other programs ok?
> Even ones
> > including Integer operations?
>
> Yes, it works fine.
>
> > What GMP do you have installed on your system? (do rpm -qa
> | grep gmp).
>
> It reports gmp-2.0.2-13
Ah, I suspect that the system GMP is being picked up before the one
installed with GHC, probably because of a -L option on the GHC command
line. The fix should be to either remove the offending -L option (it
must be a duplicate), or to add another -L option pointing to GHC's
libraries before the offending -L option on the command line.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list