Compiling GMP on OS X 10.6 (snow leopard)

Hans Aberg haberg at
Wed Oct 14 23:47:18 CEST 2009

On 10 Oct 2009, at 22:12, Katie Scott wrote:
> The plot thickens.  There was no difference between the two
> distributions.  Rather - I think it was my poor choice in directory
> names.  I haven't gotten to the bottom of this but this is what I
> think.
> The error message during make check was:
> libtool: link: cannot find the library `libraries/gmp-4.3.1/'
> or unhandled argument `libraries/gmp-4.3.1/'
> The library name I was using was"added libraries".
> When I moved the distro out into a one named without spaces - it  
> worked.  ??

On BSD systems, like Mac OS X, local libraries typically go into /usr/ 
local/lib/ (/usr/lib/ is reserved for the system installation). If the  
sources are available, they can be put into /usr/local/src/.


More information about the gmp-bugs mailing list