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

MacPorts noreply at macports.org
Wed Aug 28 16:15: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 NicosPavlov):

 In principle, the native variant only removes the possibility of
 downloading pre-compiled packages to ensure that the build uses the native
 configuration. Non-native variant probably works because you are then
 downloading a package and not actually compiling it, which means that the
 choice of compiler is not applied.

 Just for reference, are you actually running the command below ?
 sudo port install openblas +native configure.compiler=macports-clang-5.0
 I tested it and could not reproduce your problem. It is indeed weird that
 it cannot find system libraries.

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

More information about the macports-tickets mailing list