gtk+hs and libgmp
Simon Marlow
simonmar@microsoft.com
Thu, 25 Oct 2001 12:53:46 +0100
> On Thu, 2001-10-25 at 12:04, Simon Marlow wrote:
>=20
> >=20
> > The version in /opt/ghc/lib/ghc-5.02 should work, as should=20
> /usr/local/lib/libgmp.so.3.1.1. The version in /usr/lib=20
> looks like GMP 2, so that would cause the link errors.
> >=20
> > Make sure the link command line doesn't have -L/usr/lib on=20
> it, or at least not before -L/usr/local/lib and=20
> -L/opt/ghc/lib/ghc-5.02.
> >=20
> > 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=20
> 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