Opened 10 years ago

Last modified 10 years ago

#45715 closed defect

gettext-0.19.3_0 links shared libs with -flat_namespace on Yosemite — at Version 2

Reported by: jhowarth@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: haspatch Cc: larryv@…
Port: gettext

Description (last modified by larryv (Lawrence Velázquez))

% otool -hv /opt/local/lib/libasprintf.0.dylib
/opt/local/lib/libasprintf.0.dylib:
Mach header
      magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
MH_MAGIC_64  X86_64        ALL  0x00       DYLIB    15       1360 DYLDLINK BINDS_TO_WEAK NO_REEXPORTED_DYLIBS

reveals that gettext-0.19.3_0 built on Yosemite is linking its shared libraries with "-flat_namespace" as seen from the missing TWOLEVEL flag expected from "-undefined dynamic_lookup".

Change History (3)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added; ryandesign removed
Owner: changed from macports-tickets@… to ryandesign@…

Again with the Libtool MACOSX_DEPLOYMENT_TARGET bug. I’ll prep a patch shortly.

Changed 10 years ago by larryv (Lawrence Velázquez)

Attachment: gettext.patch added

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)

The Libtool MACOSX_DEPLOYMENT_TARGET bug strikes again. The attached change corrects the problem, although the issue still needs to be reported upstream. The latest Libtool release fixes the problem, so they might just have to update their macros and regenerate the build files.

Last edited 10 years ago by larryv (Lawrence Velázquez) (previous) (diff)
Note: See TracTickets for help on using tickets.