[MacPorts] #58895: OpenBLAS @0.3.7 +native build failure: ld: library not found for -lSystem
MacPorts
noreply at macports.org
Wed Aug 28 16:09:17 UTC 2019
#58895: OpenBLAS @0.3.7 +native build failure: ld: library not found for -lSystem
-----------------------+-------------------------
Reporter: prbuen | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: OpenBLAS |
-----------------------+-------------------------
Comment (by kencu):
`clang` knows where to find the system libraries, but it appears your
`gfortran` doesn't know where to look for them when linking:
{{{
:info:build /opt/local/bin/gfortran-mp-9 -O3 -m128bit-long-double -Wall
-frecursive -fno-optimize-sibling-calls -m64 -mavx2 -o sblat1 sblat1.o
../libopenblas-r1.a -lpthread -lgfortran -lpthread -lgfortran
:info:build ld: library not found for -lSystem
}}}
That's kinda weird, really. But `ld` needs to know or be passed the
location of the system libraries for the link to succeed.
--
Ticket URL: <https://trac.macports.org/ticket/58895#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list