The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - Newcomers (http://hintsforums.macworld.com/forumdisplay.php?f=15)
-   -   Library Not Loaded (http://hintsforums.macworld.com/showthread.php?t=125517)

bruhan 06-25-2011 07:46 AM

Just discovered gfortran is compatible with the f77.

bruhan 06-25-2011 03:16 PM

X Code reinstalled...

bruhan 06-25-2011 03:31 PM

Created a /usr/local/bin path: "export PATH=$PATH:/usr/local/bin

bruhan 06-25-2011 04:40 PM

locate gfortran gave me: /usr/local/lib/libgfortran.2.dylib

bruhan 06-25-2011 04:44 PM

version gfortran 4.2.3 from here: http://r.research.att.com/tools/

bruhan 06-25-2011 04:52 PM

Tried to run HelloWorld and this is what I got.


Neo-3:~ brunohannud$ /Users/brunohannud/Documents/Doutorado/ExecutaveisTurns/HELLOWORLD /Users/brunohannud/Documents/Doutorado/ExecutaveisTurns/HELLOWORLD.FOR
dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib
Referenced from: /Users/brunohannud/Documents/Doutorado/ExecutaveisTurns/HELLOWORLD
Reason: image not found
Trace/BPT trap

bruhan 06-25-2011 04:53 PM

Neo-3:~ brunohannud$ cd /usr/local/lib
Neo-3:lib brunohannud$ ls
ImageMagick-6.6.1 libgcc_s_ppc64.1.dylib libgfortran.dylib
gcc libgcc_s_x86_64.1.dylib libgfortran.la
libgcc_s.1.dylib libgfortran.2.0.0.dylib libpolar-3.1.4.dylib
libgcc_s.10.4.dylib libgfortran.2.dylib ppc64
libgcc_s.10.5.dylib libgfortran.a x86_64

bruhan 06-25-2011 04:58 PM

YES!! HEllo World Working!!!!!!!

brettgrant99 06-25-2011 05:23 PM

Good. Do you need more help, or can you take it from here?

Brett

bruhan 06-25-2011 05:28 PM

Brett, Thank you immensely. Straight logic... magic from your side. I'll try to take it from here.


All times are GMT -5. The time now is 10:38 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.