Moving to fink-users because this is not a -core issue.

On 07/15/2011 2:26 AM, Daniel Sindhikara wrote:
> Hello,
>   I have a 1-year old iMac intel i7. After using fink for to install a few
> compilers (with some difficulty) I attempted to fink update-all when I
> noticed something very strange. There was an error regarding the
> architecture being wrong, it says it's linking to i386. But I thought my
> system is x86_64. Now if I uname -m I get i386. This seems strange because
> I'm sure I have 64 bit architecture. I really don't know whats going on
> here. Any help?

The architecture that your Fink installation uses does not have to be 
the same as your primary OS arch (I can run x86_64 fink on 10.5).  It is 
impossible to know what your actual Fink architecture is.  Please paste 
the output of 'fink -V | head -n 3'

> fink update-all
> ...
> gcc-4.0 -L/sw/lib -L/usr/local/lib -L/opt/local/lib -force_flat_namespace -o
> miniperl \
>          miniperlmain.o opmini.o libperl.a -ldl -lm -lutil -lc
> ld: in /usr/local/lib/libstdc++.6.dylib, file was built for unsupported file
> format which is not the architecture being linked (i386)

You have contaminants in /usr/local that do not match your Fink 
architecture.  Look at Question 6.8 in the FAQ: 
http://www.finkproject.org/faq/comp-general.php

Hanspeter

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to