New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Fortran Compiling help

Post Reply New Thread Subscribe

Thread Tools

Member Since: Oct 07, 2009
Posts: 2
Jennynot is on a distinguished road

Jennynot is offline
Hi there,

I'm new to coding, and I'm trying to learn fortran90. I have installed gfortran and xcode tools, and I'm trying to compile from terminal.

It's a simple hello world program, but when I try to compile it I get this error:

ld: warning, duplicate dylib /usr/local/lib/libgcc_s.1.dylib

and the program fails to compile.

I've looked in the /usr/local/lib file and I can only see one copy of the libgcc_s.1.dylib file, but I'm not sure if that means anything. All the libgcc files present are:


I don't want to go deleting things without understanding what I'm doing, does anybody have any idea how I can fix this problem?

Many thanks,


EDIT -------------

As I'm not sure how to delete this I guess it'll have to stay - but I managed to fix the problem by deleting these two files


sorry for bothering anybody
QUOTE Thanks

Post Reply New Thread Subscribe

« C++ Beginner simple fstream question | OSX Daemon using ObjectiveC and XCode »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
compiling Linux app for OS X johnny_canuck OS X - Development and Darwin 7 04-27-2009 01:21 PM
Help with XCode and Fortran rosula2008 OS X - Development and Darwin 3 01-28-2009 12:20 PM
Problems compiling a library Guandalug OS X - Development and Darwin 2 11-20-2008 03:57 PM
Compiling Chrome for the Mac jbucaran OS X - Apps and Games 2 09-06-2008 11:10 PM
gcc compiling jdgti OS X - Development and Darwin 5 09-20-2006 04:08 AM

All times are GMT -4. The time now is 02:08 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?