[MacPorts] #68942: gettext: dyld[53501]: Symbol not found: (_libiconv) (was: dyld[53501]: Symbol not found)

MacPorts noreply at macports.org
Tue Dec 19 19:00:42 UTC 2023


#68942: gettext: dyld[53501]: Symbol not found: (_libiconv)
------------------------------+--------------------
  Reporter:  falkuh           |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.1
Resolution:                   |   Keywords:
      Port:  gettext-runtime  |
------------------------------+--------------------
Changes (by jmroot):

 * cc: ryandesign (added)
 * keywords:  dyld error =>
 * port:   => gettext-runtime


Comment:

 The libintl provided by the gettext-runtime port should be linked against
 libiconv from the libiconv port, not the system libiconv. Like this:
 {{{
 % otool -L /opt/local/lib/libintl.8.dylib
 /opt/local/lib/libintl.8.dylib:
         /opt/local/lib/libintl.8.dylib (compatibility version 12.0.0,
 current version 12.0.0)
         /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0,
 current version 9.1.0)
 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 (compatibility version 150.0.0, current version 1953.255.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1319.0.0)
 }}}

 What does that command show for you? And do you have any environment
 variables starting with `DYLD` set? (Note that /usr/bin/env will not show
 them on recent macOS versions because it is a SIP binary…)

-- 
Ticket URL: <https://trac.macports.org/ticket/68942#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list