[MacPorts] #68409: libgit2 @1.7.1: Undefined symbols _libiconv _libiconv_close _libiconv_open
MacPorts
noreply at macports.org
Tue Oct 10 05:08:00 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 jrabinow):
I'm afraid I'm quite out of my depth here.
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]]
I'm really not sure why it's giving me a full path to libiconv on my
system. I just tried to reproduce it and got the same thing. I tried
removing [[https://github.com/jrabinow/macports-
ports/blob/5a9e10c90889855bfc5fa906f7d428fdc0536838/devel/libgit2/Portfile#L78|this
line]] to check if libiconv might be found by `./configure` rather than by
cmake, but the full path showed up in my main.log again. That's as far as
I got so far.
--
Ticket URL: <https://trac.macports.org/ticket/68409#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list