Bug in GMP

Torbjorn Granlund tg at gmplib.org
Tue Apr 24 08:40:31 CEST 2012


azsorkin <azsorkin at math.ucdavis.edu> writes:

  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
  
You need to install a working compiler.  This is a FAQ, your favourite
search engine should be helpful.
  
(I cannot be sure you're running into the same problem as everyone else,
your report doesn't contain the information we ask for.)

  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. 
  
I think you misread the GMP install instructions and the 'make' output.
The output says to report bugs to the bug-make list, but passing some
non-existing option to 'make' should not be taken as a bug in 'make'.

  $ make --silly-option
  ...
  Report bugs to <bug-make at gnu.org>

References:
http://gmplib.org/manual/Installing-GMP.html
http://gmplib.org/manual/Reporting-Bugs.html

-- 
Torbjörn


More information about the gmp-bugs mailing list