gcc > libmpc : libgmp not found
ryandesign at macports.org
Wed May 19 20:24:20 PDT 2010
On May 19, 2010, at 21:45, Victor Eijkhout wrote:
> 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?
Then you should remove all ports and rebuild them; see the Migration page:
There is an experimental script there which might work to automate the whole process.
More information about the macports-users