[MacPorts] #59658: babl @ 0.1.72: fails to configure on Leopard (Intel): ERROR: Problem encountered: Linker doesn't support --version-script or -exported_symbols_list
MacPorts
noreply at macports.org
Sun Nov 10 15:55:47 UTC 2019
#59658: babl @ 0.1.72: fails to configure on Leopard (Intel): ERROR: Problem
encountered: Linker doesn't support --version-script or
-exported_symbols_list
---------------------+----------------------
Reporter: kencu | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: babl |
---------------------+----------------------
Comment (by kencu):
On SnowLeopard, you can quite easily use the latest linker that the `ld64`
port supports, and you should. But it's a manual step, I'm afraid, and I
don't know how it could be automated.
It looks like the relevant step has been stripped out of the current
LibcxxOnOlderSystems instructions
<https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=70>,
but you have to do this:
8. **Snow Leopard Only:** Disable the variants corresponding to the older
versions of ld64 in `/opt/local/etc/macports/variants.conf`. This ensures
that ld64 will be reinstalled using the appropriate variants in the
future:
{{{
-ld64_97
-ld64_127
-ld64_236
}}}
9. **Snow Leopard Only:** Reinstall ld64 with the legacy variants disabled
to use ld64-latest as the default linker and deactivate the bootstrap
linker:
{{{
sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_236
sudo port -v deactivate ld64-127
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59658#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list