gcc > libmpc : libgmp not found
ryandesign at macports.org
Wed May 19 19:01:20 PDT 2010
On May 19, 2010, at 20:48, Victor Eijkhout wrote:
> On 2010/05/19, at 7:16 PM, Rainer Müller wrote:
>> On 2010-05-19 18:22 , Victor Eijkhout wrote:
>>> checking for __gmpz_init in -lgmp... no
>>> configure: error: libgmp not found or uses a different ABI.
>> Could you please provide the following file?
>> $(port work libmpc)/mpc-0.8.1/config.log
> attached. I hope.
>> This should help to identify what the real problem is here.
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?
More information about the macports-users