gcc > libmpc : libgmp not found

Victor Eijkhout eijkhout at tacc.utexas.edu
Wed May 19 19:45:29 PDT 2010


On 2010/05/19, at 9:01 PM, Ryan Schmidt wrote:

> So the problem shown in the log is:
> 
> ld: warning: in /opt/local/lib/libgmp.dylib, file was built for i386 which is not the architecture being linked (x86_64)
> 
> So you're trying to build libmpc for x86_64 but its dependency gmp is built for i386.
> 
> Which is the architecture you're actually wanting to use? Which is the native architecture of your machine?

I've just switched to Snow Leopard; I imagine that's what's causing the problems.

Should I remove gmp and have it be rebuild? Is there a simple command for uninstalling it, together with everything that depends on it?

Victor.


More information about the macports-users mailing list