Re: [MacPorts] #68281: zig: linker command failed with “duplicate symbols”
MacPorts
noreply at macports.org
Sat Apr 20 14:47:01 UTC 2024
#68281: zig: linker command failed with “duplicate symbols”
----------------------+--------------------------
Reporter: wyuenho | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: sonoma arm64
Port: zig |
----------------------+--------------------------
Comment (by kencu):
the root cause of this is having a libc++.dylib with
{{{@rpath/libc++.1.dylib}}} being found opportunistically in the llvm
library directory.
The libc++ stuff in the clang ports needs to be moved to a subdirectory
where it won’t be opportunistically found when linking in the llvm
libraries.
--
Ticket URL: <https://trac.macports.org/ticket/68281#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list