gfortran.2.dylib for mac osX

Brent Nicholas brent.nicholas@adelaide.edu.au
Wed May 14 07:01:00 GMT 2008


Hello,

I'm trying to run a binary which i've downloaded from the CERN website; the
pawX11 binary, on my intel mac running osX 10.5.2


According to CERN readme for the pawX11 binary:

|The installation has been made using the MacOSX Darwin operating system on
|Intel i386 with the gfortran/gcc4 compiler set,
|
|Compilers / Libraries:
| gfortran : GNU Fortran 95
| gcc      : gcc4 (GCC) 4.0.1

When i try and run this pawX11 binary i get error:

|dyld: Library not found /usr/local/lib/libgfortran.2.dylib
|referenced from /Users/Uni/bin/paw
|reason: image not found
|trace/BPT trap

I have an intel macbook and have gcc4 (version 4.0.1 according to "man gcc") and
i also have gcc-4.0, gcc-apple-4.2 and i also have gfortran.

Looking in /usr/local/lib i have

|libgfortran.a
|libgfortran.3.dylib
|libgfortran.dylib -> libgfortran.3.dylib
|libgfortan.la
|libgfortran.2.dylib -> libgfortran.3.dylib

I have tried making a link for libgfortran.2.dylb to libgfortran.3.dylb in the
/usr/local/lib folder but that gets me the following errors:

|dyld: lazy symbol binding failed: Symbol not found: __gfortran_set_std
|referenced from /Users/Uni/bin/paw
|expected in /usr/local/lib/libgfortran.2.dylib
|
|dylid: symbol not found: __gfortran_set_std
|referenced from /Users/Uni/bin/paw
|expected in /usr/local/lib/libgfortran.2.dylib
|
|trace/BPT trap


Can anyone help me out? Where can i get this libgfortran.2.dylib?

Thanks for any replies,
Brent

brent.nicholas@adelaide.edu.au



More information about the Fortran mailing list