[MacPorts] #65575: [OSX 10.6.8] -- Error: Failed to build ld64-274: command execution failed
MacPorts
noreply at macports.org
Sun Jul 31 00:17:38 UTC 2022
#65575: [OSX 10.6.8] -- Error: Failed to build ld64-274: command execution failed
-----------------------+--------------------
Reporter: lawlist | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: ld64-274 |
-----------------------+--------------------
Comment (by kencu):
OK, progress. Your new error:
{{{
6755 :info:build running:
/.../var/macports/build/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/cargo-1.60.0-x86_64
-apple-darwin/cargo/bin/cargo build --manifest-path
/.../var/macports/build/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/Cargo.toml
--verbose --verbose --offline
6756 :info:build dyld: Library not loaded:
/opt/local/lib/libiconv.2.dylib
6757 :info:build Referenced from:
/.../var/macports/build/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/cargo-1.60.0-x86_64
-apple-darwin/cargo/bin/cargo
6758 :info:build Reason: Incompatible library version: cargo requires
version 9.0.0 or later, but libiconv.2.dylib provides version 7.0.0
}}}
seems to indicate that the version of libiconv you have installed is
somehow too old...
I'm on Monterey right now, but my libconv seems to be the right version:
{{{
% port info libiconv
libiconv @1.17 (textproc)
% otool -L /opt/local/lib/libiconv.2.dylib
/opt/local/lib/libiconv.2.dylib:
/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0,
current version 9.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1311.0.0)
}}}
do you have some old version of libiconv installed somehow? what does your
installation show for the above ?
--
Ticket URL: <https://trac.macports.org/ticket/65575#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list