Opened 4 years ago
Last modified 3 years ago
#62656 closed defect
rust @1.51.0 Dyld: lazy symbol binding failed: Symbol not found: _linkat (OS 10.9) — at Version 2
Reported by: | cave-canem | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.99 |
Keywords: | mavericks | Cc: | cave-canem, herby.gillot@…, g5pw@… |
Port: | rust |
Description (last modified by cave-canem)
I changed on line #93 of Portfile-rust $ {os.major} <14} to $ {os.major} <13, and tried to build "rust" with mp-clang-11.
Result:
dyld: lazy symbol binding failed: Symbol not found: _linkat Referenced from: /opt/MacPorts/var/macports/build/_opt_macports-ports_lang_rust/rust/work
/rustc-1.51.0-src/build/stage0-x86_64/bin/cargo Expected in: /usr/lib/libSystem.B.dylib
The problem is that now the "mpv @ 0.33.1" and "youtube-dl @ 2021.04.01" ports (in particular) depend on the "rav1e" port, which depends on the "rust" port.
In other words, not only the rust port breaks, but other ports as well!
As a possible solution, can you add a static linking variant to the "rust" port?
See attached log with debug information.
See also link: https://github.com/rust-lang/libc/issues/2036
Change History (3)
Changed 4 years ago by cave-canem
Attachment: | main.log.tar.gz added |
---|
comment:1 Changed 4 years ago by cave-canem
Description: | modified (diff) |
---|
comment:2 Changed 4 years ago by cave-canem
Description: | modified (diff) |
---|
main.log