[MacPorts] #59599: kubectl-1.16 @1.16.2: dyld: Symbol not found: _unlinkat
MacPorts
noreply at macports.org
Tue May 26 06:03:18 UTC 2020
#59599: kubectl-1.16 @1.16.2: dyld: Symbol not found: _unlinkat
-------------------------+-------------------------------------------------
Reporter: ryandesign | Owner: patarra@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: mavericks mountainlion lion
Port: kubectl | snowleopard leopard tiger
-------------------------+-------------------------------------------------
Comment (by kencu):
The binary links only to libSystem.B.dylib:
{{{
otool -L
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.17/work/destroot/opt/local/bin/kubectl1.17
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl-1.17/work/destroot/opt/local/bin/kubectl1.17:
/usr/lib/libSystem.B.dylib (compatibility version 0.0.0, current
version 0.0.0)
}}}
So there is no easy way around this --
[https://books.google.ca/books?id=K8vUkpOXhN4C&pg=PA73&lpg=PA73&dq=interposing+library+macos&source=bl&ots=OMqfTZTxVz&sig=ACfU3U0sTvMWlY35dpoXYp4tqdag3ZQiZQ&hl=en&sa=X&ved=2ahUKEwjfm5v57NDpAhWZJjQIHaGBBT0Q6AEwAnoECAkQAQ#v=onepage&q=interposing%20library%20macos&f=false
interposing] a library might work, but it's not practical.
So the port might as well mark all the broken systems as unsupported for
now, "known_fail yes", etc, etc, and close this.
--
Ticket URL: <https://trac.macports.org/ticket/59599#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list