On Mon, Dec 6, 2010 at 5:04 PM, Jared R. Studyvin <[email protected]> wrote:
> Hello,
> I'm using Mac OSX 10.6.5, I install gsl using fink. When trying to compile a 
> simple cpp file I get the following error.
>
> ld: warning: in /sw/lib/libgsl.dylib, file was built for i386 which is not 
> the architecture being linked (x86_64)
>
> Does fink install packages from source? If not how do I do that. If so why 
> would I be getting this architecture error?
>
> Thanks,
> Jared

You have a 32-bit Fink, but Apple's build tools build 64-bit by
default on Leopard.

The second-to-last command on

http://www.finkproject.org/faq/usage-general.php?phpLang=en#compile-myself

puts special compiler wrappers at the head of the PATH which ensure
that the compiler is given the right options for the Fink architecture
in use.
-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to