[MacPorts] #62375: lmdb: ld: library not found for -lMacportsLegacySupport
MacPorts
noreply at macports.org
Tue Mar 2 13:26:31 UTC 2021
#62375: lmdb: ld: library not found for -lMacportsLegacySupport
-------------------------------------------------+-------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: snowleopard lion mountainlion | Port: lmdb
mavericks yosemite elcapitan |
-------------------------------------------------+-------------------------
lmdb fails to build on Yosemite:
{{{
:info:build /usr/bin/clang -L/opt/bblocal/lib
-Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch x86_64
-pthread -shared -o liblmdb.dylib mdb.lo midl.lo
:info:build 1 warning generated.
:info:build clang: warning: argument unused during compilation: '-pthread'
:info:build ar rs liblmdb.a mdb.o midl.o
:info:build ld: library not found for -lMacportsLegacySupport
}}}
The port includes the legacysupport portgroup for Leopard and earlier. It
should not be having any effect on systems newer than Leopard, and the
dependency on the legacysupport port is not added, which is why the
library isn't there, but it is still erroneously adding the flags to use
the legacysupport library and headers. Perhaps this is a bad interaction
between the legacysupport and makefile portgroups.
--
Ticket URL: <https://trac.macports.org/ticket/62375>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list