Can't find library for -lmpfr

Giner, Luis (Cont, ARL/CISD)
Fri Apr 14 14:14:00 GMT 2006

I can't get passed this error.  I'm using the latest GMP and MPFR
releases.  I'm building this on a 10.20 HPUX D Class server.

Thank you for any help you can provide me.

configure:1963: checking whether the C compiler (gcc  ) is a
configure:1968: checking whether we are using GNU C
configure:1996: checking whether gcc accepts -g
configure:2063: checking for gnatbind
configure:2128: checking whether compiler driver understands Ada
configure:2160: checking how to compare bootstrapped objects
configure:2258: checking for correct version of gmp.h
configure:2271: gcc -c -g -O2 -I/gen1/lginer/mpfr-2.2.0/include
-I/gen1/lginer/gmp-4.2  conftest.c 1>&5
configure:2284: checking for MPFR
configure:2297: gcc -o conftest -g -O2 -I/gen1/lginer/mpfr-2.2.0/include
-I/gen1/lginer/gmp-4.2   conftest.c  -L/gen1/lginer/mpfr-2.2.0/lib
-lmpfr /gen1/lginer/gmp-4.2/.libs/libgmp.a 1>&5
/usr/ccs/bin/ld: Can't find library for -lmpfr
collect2: ld returned 1 exit status
configure: failed program was:
#line 2289 "configure"
#include "confdefs.h"
#include <gmp.h>
#include <mpfr.h>
int main() {
mpfr_t n; mpfr_init(n);
; return 0; }
configure:2793: checking for bison
configure:2828: checking for bison
configure:2863: checking for gm4
configure:2898: checking for flex
configure:2933: checking for flex
configure:2968: checking for makeinfo

Luis E. Giner
SI International
Senior UNIX Administrator
White Sands Missile Range

More information about the Gcc-help mailing list