Compiling error, "cannot find -lgmp"

Bruno Couto bccp79 at
Mon Oct 3 15:41:46 CEST 2005

Thanks for the help, but I tried this way and I got "gmp.h - File not found" 
back. I think it could be expected since there are no /include or /lib 
directories inside usr/local/gmp-4.1.4...
Any other ideas???
Thanks a lot.

>From: Patrick Pelissier <patrick.pelissier at>
>Reply-To: Patrick Pelissier <patrick.pelissier at>
>To: Bruno Couto <bccp79 at>
>CC: gmp-bugs at
>Subject: Re: Compiling error, "cannot find -lgmp"
>Date: Sat, 1 Oct 2005 10:46:33 +0200
> > gcc -o test test.c -I /usr/local/gmp-4.1.4 -L /usr/local/gmp-4.1.4 -lgmp
> > but for both I got a "cannot find -lgmp"
>  gcc -o test test.c -I /usr/local/gmp-4.1.4/include -L
>/usr/local/gmp-4.1.4/lib -lgmp
>  Patrick Pelissier

MSN Messenger: converse online com seus amigos .

More information about the gmp-bugs mailing list