It gets even more interesting. I have two libmpfr.a One in /opt/local/lib and one in /use/local/lib let me sort out what is happening.
On Sun, May 20, 2012 at 9:24 PM, John Wiegley <[email protected]> wrote: >>>>>> Craig Earls <[email protected]> writes: > >> Linking CXX executable ../ledger ld: warning: ignoring file >> /usr/local/lib/libmpfr.a, file was built for archive which is not the >> architecture being linked (x86_64) > > This is the problem. Can you run "file" on that archive? And "ar xv" on it, > and then "file" on its contents? It sounds like the library is 32-bit, but > you are linking 64-bit... > > John -- Craig, Corona De Tucson, AZ enderw88.wordpress.com
