[MacPorts] #62656: rust @1.51.0 does not build on 10.9: Dyld: lazy symbol binding failed: Symbol not found: _linkat (OS 10.9)

MacPorts noreply at macports.org
Tue Apr 13 14:03:19 UTC 2021


#62656: rust @1.51.0 does not build on 10.9: Dyld: lazy symbol binding failed:
Symbol not found: _linkat (OS 10.9)
-------------------------+-----------------------
  Reporter:  cave-canem  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.99
Resolution:              |   Keywords:  mavericks
      Port:  rust        |
-------------------------+-----------------------

Comment (by kencu):

 I believe rust downloads a prebuilt boot compiler, then builds itself.

 The prebuilt boot compiler will still have the linkat error.

 If you know how to insert libraries or generate a new temporary libSystem
 that links in legacysupport's linkat you might get it working. Look into
 ld64's export library feature, generate a new libSystem, and change the
 downloaded rust bootstrap compiler to use it with dyld_library_path or
 install name tool.

 Upstream would ideally fix this, though, otherwise this will be awkward at
 our level to workaround.

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


More information about the macports-tickets mailing list