[MacPorts] #29782: py27-numpy: ld: library not found for -lgfortran (was: py27-numpy build failure)
MacPorts
noreply at macports.org
Sat Jun 11 04:14:23 PDT 2011
#29782: py27-numpy: ld: library not found for -lgfortran
------------------------------+---------------------------------------------
Reporter: rrykim@… | Owner: ram@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: py27-numpy
------------------------------+---------------------------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
Comment:
The relevant error seems to be:
{{{
ld: library not found for -lgfortran
}}}
libgfortran.dylib is supposed to be provided by the gcc port applicable to
the gcc variant you selected. For example if you selected (or MacPorts
automatically selected) the gcc44 variant, then it should be using the
libgfortran.dylib in /opt/local/lib/gcc44.
What's peculiar about your log is that it shows it found and used
/usr/bin/gfortran as the fortran compiler. Where did /usr/bin/gfortran
come from? It is not a part of Mac OS X or Xcode and no MacPorts port
provides it. You should remove it, and anything else that went along with
it. Then clean py27-numpy and try again.
--
Ticket URL: <https://trac.macports.org/ticket/29782#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list