[MacPorts] #65011: cargo: 0.61.1 fails to build for 10.12 and earlier
MacPorts
noreply at macports.org
Mon Apr 18 14:03:27 UTC 2022
#65011: cargo: 0.61.1 fails to build for 10.12 and earlier
----------------------+-------------------------
Reporter: mascguy | Owner: herbygillot
Type: defect | Status: assigned
Priority: High | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: cargo |
----------------------+-------------------------
Comment (by MarcusCalhoun-Lopez):
I believe it is a bit difficult to get Rust to look in the right place for
OpenSSL.\\
In the current [https://github.com/macports/macports-ports/pull/14277 pull
request], it is handled in the rust PG.
The current problem is that\\
`MACPORTS_LEGACY_SUPPORT_LDFLAGS=-L/opt/local/lib
-lMacportsLegacySupport`\\
places `/opt/local/lib` very high in the search order for libraries.\\
So `-lcrypto` finds `/opt/local/lib/libcrypto.dylib` instead of the
intended `/opt/local/libexec/openssl11/lib/libcrypto.dylib`.
--
Ticket URL: <https://trac.macports.org/ticket/65011#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list