[MacPorts] #58895: OpenBLAS @0.3.7 +native build failure: ld: library not found for -lSystem

MacPorts noreply at macports.org
Wed Aug 28 14:40:08 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 prbuen):

 It seems the linker flag `-L/usr/lib` is simply missing. It should be
 added to Makefile.conf, but I am not sure how Makefile.conf is generated
 from the Portfile. Instead, what I did is symlinking
 `/usr/lib/libSystem.dylib` and `/usr/lib/libm.dylib` in the folder
 `/opt/local/lib/` => makes the compilation succeed.

-- 
Ticket URL: <https://trac.macports.org/ticket/58895#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list