[MacPorts] #68409: libgit2 @1.7.1: Undefined symbols _libiconv _libiconv_close _libiconv_open

MacPorts noreply at macports.org
Tue Oct 10 04:21:29 UTC 2023


#68409: libgit2 @1.7.1: Undefined symbols _libiconv _libiconv_close _libiconv_open
-----------------------+---------------------------
  Reporter:  jrabinow  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:  sonoma, arm64
      Port:  libgit2   |
-----------------------+---------------------------

Comment (by ryandesign):

 Replying to [comment:5 ryandesign]:
 > Continuing on, the buildbot log says:
 >
 > {{{
 > -- Looking for iconv_open
 > -- Looking for iconv_open - not found
 > -- Found Iconv: -L/opt/local/lib -liconv
 > }}}

 I believe this is coming from the FindIconv.cmake file included in the
 libgit2 source distribution.

 > while yours says:
 >
 > {{{
 > -- Performing Test Iconv_IS_BUILT_IN
 > -- Performing Test Iconv_IS_BUILT_IN - Failed
 > -- Found Iconv: /opt/local/lib/libiconv.dylib (found version "1.17")
 > }}}

 I believe this is coming from the FindIconv.cmake file installed as part
 of the cmake port.

 Why are there two versions of this file? How is it determined or specified
 which one will be used?

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


More information about the macports-tickets mailing list