Opened 3 years ago

Closed 3 years ago

#62375 closed defect (fixed)

lmdb: ld: library not found for -lMacportsLegacySupport

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: snowleopard lion mountainlion mavericks yosemite elcapitan Cc: kencu (Ken)
Port: lmdb

Description

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.

Attachments (1)

main.log (12.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 3 years ago by kencu (Ken)

Owner: set to kencu
Resolution: fixed
Status: newclosed

In 1eb4738ae881ffcaaa46ef16c8a2478aa4dcb395/macports-ports (master):

lmdb: use legacysupport 1.1

legacysupport 1.1 appears to work properly
with this port whereas legacysupport 1.0 does not

this may be due to the use of the Makefile PG as well.

closes: #62375

Note: See TracTickets for help on using tickets.