Bug in GMP

azsorkin azsorkin at math.ucdavis.edu
Tue Apr 24 00:36:05 CEST 2012


I'm trying to run a C++ program, and it appears I need GMP to run it.
However, I cannot seem to get GMP on my computer. Here is the details.

I am running a mac OSX 10.5.8. and trying to install GMP 5.0.4. The
command ./configure seems to work just fine, but when I run make, the
screen displays:

ld: duplicate symbol ___gmpz_abs in .libs/compat.o and .libs/assert.o
collect2: ld returned 1 exit status
make[2]: *** [libgmp.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Moreover, I know there is a build issue with OSX, and that I should run
make --disable-shared, but that results in "unrecognized option", and
incidentally, says to report that bug as well. 

Adam Sorkin

More information about the gmp-bugs mailing list