Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Fortran Compiling help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Jennynot" data-source="post: 920531" data-attributes="member: 125425"><p>Hi there,</p><p></p><p>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. </p><p></p><p>It's a simple hello world program, but when I try to compile it I get this error:</p><p></p><p><strong>ld: warning, duplicate dylib /usr/local/lib/libgcc_s.1.dylib</strong></p><p></p><p>and the program fails to compile.</p><p></p><p>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:</p><p></p><p>libgcc_s_ppc64.1.dylib</p><p>libgcc_s_x86_64.1.dylib</p><p>libgcc_s.1.dylib</p><p>libgcc_s.10.4.dylib</p><p>libgcc_s.10.5.dylib</p><p></p><p>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?</p><p></p><p>Many thanks,</p><p></p><p>Jenny</p><p></p><p>EDIT -------------</p><p></p><p>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</p><p></p><p>libgcc_s.1.dylib</p><p>libgcc_s.10.4.dylib</p><p></p><p>sorry for bothering anybody</p></blockquote><p></p>
[QUOTE="Jennynot, post: 920531, member: 125425"] 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: [B]ld: warning, duplicate dylib /usr/local/lib/libgcc_s.1.dylib[/B] 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 [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Fortran Compiling help
Top