[MacPorts] #61222: ghc @8.10.1: testing fails because the symbol _iconv is not found
MacPorts
noreply at macports.org
Thu Sep 24 13:25:02 UTC 2020
#61222: ghc @8.10.1: testing fails because the symbol _iconv is not found
-------------------------+-----------------------
Reporter: ryandesign | Owner: essandess
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: ghc |
-------------------------+-----------------------
Comment (by ryandesign):
You [comment:ticket:61219:4 mentioned] that
> ghc must be bootstrapped from a pre-compiled binary
and I see that the binary distribution contains libraries/base/dist-
install/build/libHSbase-4.14.0.0.a, so I now assume that that is the
library mentioned in the error message. I had originally assumed that it
was a library that had been built on the user's system. But if it's a
library distributed from upstream, then it is logical to assume that it
was built with macOS libiconv, not MacPorts libiconv, and that using that
library would therefore require that we use macOS libiconv, not MacPorts
libiconv.
Again, we need to see the command that the build system is using when it
is "Linking mk/ghc-config" so that we can see where in the source code it
is happening so that we can change it. For example, if it is linking with
libiconv using `-L/opt/local/lib -liconv`, then it needs to be changed to
`/usr/lib/libiconv.dylib`.
--
Ticket URL: <https://trac.macports.org/ticket/61222#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list