This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
LD error with gfortran
- From: "Neil Gajare" <nerajag at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Date: Wed, 27 Jun 2007 11:54:50 -0400
- Subject: LD error with gfortran
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=em28IuI2Zmw5BDkmh56a+0gudahtKKIxDbn8SzSrOOMVRvBRC44Hjyoiwqi2XFt/b3Et38bnPdYovSUrQJG9eVSuO9aebuhII1RIGcikgYdT88w5Di/DEZpWAgfIQmlv0Mb8TtW1vSMFLXdLPcqnwj8OqhN8ZDGD3IxDmcWKpgc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Cz/xvn4W2ODl2RIc4aE50yBfM2RlL+OBCMk37fOu/Jbp9vx/Cw+enucEax8M1Ygcd8AWIglvyFrRTtHKWzgRy9ZIsLmYqpumjRRqXHoeQrCjbmXBjUTd5BwsDwB6zceQnWTyO/dmQs7n+I6CfGTDQIutUtxF+NBmQULkBNW3REw=
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