Fortran Compiling help

Joined
Oct 7, 2009
Messages
2
Reaction score
0
Points
1
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:

libgcc_s_ppc64.1.dylib
libgcc_s_x86_64.1.dylib
libgcc_s.1.dylib
libgcc_s.10.4.dylib
libgcc_s.10.5.dylib

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,

Jenny

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

libgcc_s.1.dylib
libgcc_s.10.4.dylib

sorry for bothering anybody
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top