GMP path specification issues with PBC

Piotr DIOP piotr.diop at stericsson.com
Mon Feb 7 17:19:55 CET 2011


Hello,

I'm currently trying to install PBC library on my linux pc. I noticed that I needed the GMP library to complete the installation.
The problem is that after I successfully install GMP, I don't know how to specify the library path for PBC.

Here is what I get when I run ./configure for PBC :

...
Checking for __gmpz_init in -lgmp... no
*****************
Gmp library not found
Add its path to LDFLAGS
See ./configure -help
*****************

I tried to specify the path with the command : setenv LDFLAGS /home... /gmp-5.0.1/ but when I retry to install PBC it says

...
Checking whether the C compiler works... no
Configure : error: in '/home.../pbc-0.5.11':
Configure : error: C compiler cannot create executables
See 'config.log' for more details.

Actually I'm new to linux and it's the first time I'm trying to install a program.

Thank you in advance.



More information about the gmp-bugs mailing list