gtk+hs and libgmp

Gérard Milmeister gemi@bluewin.ch
25 Oct 2001 13:48:55 +0200


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/li=
b/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 leas=
t 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.

-- 
Gérard Milmeister
Tannenrauchstr. 35
8038 Zürich
gemi@bluewin.ch