[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
Wed Apr 14 05:52:17 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):

 using the existing {{{cargo}}} it is possible to build a new {{{cargo}}}
 from source like this:
 {{{
 mkdir test
 cd test
 git clone https://github.com/rust-lang/cargo.git
 cd cargo
 RUSTFLAGS="-C link-args=/opt/local/lib/libMacportsLegacySupport.a"
 DYLD_FORCE_FLAT_NAMESPACE=1
 DYLD_INSERT_LIBRARIES=/opt/local/lib/libMacportsLegacySupport.dylib
 OPENSSL_DIR=/opt/local cargo build --features curl-sys/force-system-lib-
 on-osx --verbose
 cd target
 cd debug
 ./cargo
 }}}

 that seems unencumbered, although it's a debug version it seems and
 therefore is 10x larger than the original.

 (I did have to deactivate libiconv for the link, as it found MacPorts
 version, but I'm sure that is surmountable).

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


More information about the macports-tickets mailing list