LD error with gfortran
Neil Gajare
nerajag@gmail.com
Wed Jun 27 15:54:00 GMT 2007
Hello,
I have recently installed the Mac OSX binary of gfortran, and am
attempting to compile a program. The program compiles fine, but the
linking process terminates with an error. I have tried to set the
LD_LIBRARY_PATH, but that did not seem to work. The errors are below.
xx:~/desktop/source neil$ gfortran surfnet.f
/usr/bin/ld: warning can't open dynamic library: /libgcc_s.1.dylib
referenced from:
/usr/local/gfortran/lib/gcc/i386-apple-darwin8.8.1/4.3.0/../../../libgfortran.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_getfac_
_grid_
_grscal_
_intmap_
_lenstr_
_shsort_
_wrimap_
_wrisrf_
collect2: ld returned 1 exit status
Does anyone have any suggestions?
Thank you,
Neil Gajare
More information about the Fortran
mailing list