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

MacPorts noreply at macports.org
Tue Dec 19 19:21: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  |
------------------------------+--------------------

Comment (by falkuh):

 {{{
 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 1858.112.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1311.100.3)
 }}}

 so the version numbers are slightly different from those you showed.

 Printenv indeed showed no DYLD envs but in my .zprofile I find

 {{{
 export
 DYLD_LIBRARY_PATH=/usr/lib:/opt/X11/lib:/opt/local/lib:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib
 }}}


 Maybe I should disable SIP for a moment and install a symlink in /usr/lib
 such as

 {{{
 sudo ln -s /usr/local/MacGPG2/lib/libiconv.2.dylib libiconv.2.dylib
 }}}


 ?? Thanks for your prompt reply.

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


More information about the macports-tickets mailing list