Opened 3 years ago
Closed 3 years ago
#64144 closed defect (fixed)
rust: dyld: Library not loaded: /opt/local/lib/libcxx/libc++.1.0.dylib
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | lion | Cc: | g5pw (Aljaž Srebrnič), catap (Kirill A. Korinsky) |
Port: | rust git-delta |
Description
git-delta fails to build due to what appears to be a bug in rust:
dyld: Library not loaded: /opt/local/lib/libcxx/libc++.1.0.dylib Referenced from: /opt/local/bin/rustc Reason: image not found
I see there was a recent commit to rust [5fc1fec717f6d409901360f4337bbc531f932945/macports-ports] which looks like it made significant changes to the port (for one thing, it removed legacysupport.use_mp_libcxx yes
), but the revision was not increased. legacysupport.use_mp_libcxx yes
changes the dependencies of the port, so at least for that reason the revision must be increased.
Change History (3)
comment:1 Changed 3 years ago by kencu (Ken)
comment:3 Changed 3 years ago by catap (Kirill A. Korinsky)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Hah.
legacysupport.use_mp_libcxx yes
was added solely to have access to thelibc++.a
static library, but lo and behold the mechanisms actually fully worked, and rust was built against the newer libc++.1.0.dylib !Although this is what is supposed to happen, I will admit being kinda surprised, as it is usually so hard to make rust obey your wishes during building.
I guess we have learned to tame it to do our bidding (too well, in this case).
rust will need to be revbumped to rebuild it against the system libc++.dylib, which only affected some systems, but might as well revbump it for all for consistency.