[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 22:26:01 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):
Well, I thought I would play around with this, on 10.9, and I did this:
From here <https://forge.rust-lang.org/infra/other-installation-
methods.html> I downloaded this file to ~/
https://static.rust-lang.org/rustup/dist/x86_64-apple-darwin/rustup-init
Then had to chmod it
{{{
chmod 755 rustup-init
}}}
Then ran it:
{{{
./rustup-init
}}}
and everything installed just as it is supposed to, into
{{{$HOME/.cargo/bin}}}.
So, then I added that to the PATH, and ran it {{{rustc}}} and got this:
{{{
$ ./rustc
Usage: rustc [OPTIONS] INPUT
Options:
-h, --help Display this message
--cfg SPEC Configure the compilation environment
-L [KIND=]PATH Add a directory to the library search path. The
optional KIND can be one of dependency, crate,
native,
framework, or all (the default).
-l [KIND=]NAME Link the generated crate(s) to the specified
native
library NAME. The optional KIND can be one of
static, framework, or dylib (the default).
... etc
}}}
SO -- that Just Seems To Work.
I then tried it with i386, and (although I didn't build anything) that
seemed to work too.
So it appears we might have some work to do, I guess, on our ports. not
100% sure what the next step is.
--
Ticket URL: <https://trac.macports.org/ticket/62656#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list