Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45715 closed defect (fixed)

gettext-0.19.3_0 links shared libs with -flat_namespace on Yosemite

Reported by: jhowarth@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: haspatch Cc: larryv (Lawrence Velázquez)
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".

Attachments (1)

gettext.patch (3.1 KB) - added by larryv (Lawrence Velázquez) 10 years ago.

Download all attachments as: .zip

Change History (6)

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)

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

Resolution: fixed
Status: newclosed

Oy vey, I accidentally pushed my local commit in r127662. Sorry. I guess I’ll just leave it.

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

comment:5 in reply to:  3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

Replying to larryv@…:

Oy vey, I accidentally pushed my local commit in r127662. Sorry. I guess I’ll just leave it.

No worries; thanks for doing this and feel free to do the same for any other ports of mine that need it.

Note: See TracTickets for help on using tickets.