[MacPorts] #60956: inkscape 0.92.5_2 +x11: Undefined symbols for architecture x86_64: _libiconv, _libiconv_close, and _libiconv_open

MacPorts noreply at macports.org
Tue Aug 4 16:46:33 UTC 2020


#60956: inkscape 0.92.5_2 +x11: Undefined symbols for architecture x86_64:
_libiconv, _libiconv_close, and _libiconv_open
---------------------------+----------------------
  Reporter:  joel-coffman  |      Owner:  dbevans
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.3
Resolution:                |   Keywords:
      Port:  inkscape      |
---------------------------+----------------------

Comment (by joel-coffman):

 I managed to build successfully after temporarily renaming the iconv
 versions in `/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/`:
 {{{
 sudo mv usr/include/iconv.h usr/include/iconv.h~
 sudo mv usr/lib/libiconv.tbd usr/lib/libiconv.tbd~
 }}}
 After which cleaning and installing the port was successful:
 {{{
 sudo port clean inkscape
 sudo port -t install inkscape
 }}}
 (followed by restoring the original name of the iconv version in
 `/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/`).

 Temporarily renaming iconv doesn't seem like it should be necessary, but
 reporting it here in case others have a similar issue.

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


More information about the macports-tickets mailing list