[MacPorts] #45715: gettext-0.19.3_0 links shared libs with -flat_namespace on Yosemite

MacPorts noreply at macports.org
Fri Oct 31 13:55:57 PDT 2014


#45715: gettext-0.19.3_0 links shared libs with -flat_namespace on Yosemite
-------------------------+--------------------------
  Reporter:  jhowarth@…  |      Owner:  ryandesign@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.2
Resolution:              |   Keywords:
      Port:  gettext     |
-------------------------+--------------------------

Old description:

> % 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".

New description:

 {{{
 % 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".

--

Comment (by larryv@…):

 The [[comment:35:ticket:44596|Libtool MACOSX_DEPLOYMENT_TARGET bug]]
 strikes again. The [[attachment:gettext.patch|attached change]] corrects
 the problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/45715#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list