> On Thu, 2001-10-25 at 12:04, Simon Marlow wrote:
>
> >
> > The version in /opt/ghc/lib/ghc-5.02 should work, as should
> /usr/local/lib/libgmp.so.3.1.1. The version in /usr/lib
> looks like GMP 2, so that would cause the link errors.
> >
> > Make sure the link command line doesn't have -L/usr/lib on
> it, or at least not before -L/usr/local/lib and
> -L/opt/ghc/lib/ghc-5.02.
> >
> > Cheers,
> > Simon
> I tried to remove the libgmp.so from both /usr/local/lib and /usr/lib.
> ghc doesn't seem to link with the one in /opt/ghc. Also when I give
> /opt/ghc/lib/ghc-5.02/libgmp.a on the command line it doesn't
> work... It
> only works with /usr/local/lib/libgmp.so. I guess, that gmp is always
> used, so I wonder that it works apart from gtk+hs.
It seems very strange that the libgmp in your GHC installation doesn't work. How did
you install GHC? Do you have problems linking other programs, or just gtk+hs programs?
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users