[MacPorts] #58695: nodejs12 @12.6.0: ld: library not found for -latomic

MacPorts noreply at macports.org
Wed Oct 9 09:19:25 UTC 2019


#58695: nodejs12 @12.6.0: ld: library not found for -latomic
-------------------------+----------------------
  Reporter:  dubiousjim  |      Owner:  ci42
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  nodejs12    |
-------------------------+----------------------

Comment (by dubiousjim):

 Note that `/opt/local/lib/gcc8/libatomic.dylib` aliases
 `/opt/local/lib/gcc8/libatomic.1.dylib`, which in turn aliases the (gcc
 version-free) path `/opt/local/lib/libgcc/libatomic.1.dylib`. That's what
 really gets linked into the node binary. But I think using
 `configure.ldflags="-L/opt/local/lib/libgcc"` doesn't work, unless you
 also create an alias at `/opt/local/lib/libgcc/libatomic.dylib`.

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


More information about the macports-tickets mailing list