[MacPorts] #68409: libgit2 @1.7.1: Undefined symbols _libiconv _libiconv_close _libiconv_open
MacPorts
noreply at macports.org
Tue Oct 10 05:13:08 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:9 jrabinow]:
> When I dug into the cmake recipe the other day, I landed on
[[https://github.com/libgit2/libgit2/blob/4939fa740aba2d7f2392b88e67e563eadd32e58c/cmake/FindIconv.cmake#L16|this
call]] to
[[https://cmake.org/cmake/help/latest/command/find_library.html|find_library]]
Right, but the problem is that that FindIconv.cmake is not being used at
all in your case; your build is, for some reason, using a different
FindIconv.cmake provided by the cmake port, with which libgit2 is not
compatible. I'll explain this to the developer in my bug report and
suggest two possible solutions: either forcing, somehow, that the bundled
copy of FindIconv.cmake is always used, or else deleting the bundled copy
and rewriting the rest of the libgit2 cmake files so that they are
compatible with cmake's FindIconv.cmake.
--
Ticket URL: <https://trac.macports.org/ticket/68409#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list