Re: https://gitlab.haskell.org/ghc/ghc/-/issues/22118 
<https://gitlab.haskell.org/ghc/ghc/-/issues/22118>

I'm self-bootstrapping ghc 9.4.2 using hadrian for deployment on MacPorts.

Running hadrian -f binary-dist throws this error:
> :info:build   "_iconv_close", referenced from:
> :info:build       _hs_iconv_close in libHSbase-4.17.0.0.a(iconv.o)
> :info:build      (maybe you meant: _hs_iconv_close)
> :info:build   "_iconv", referenced from:
> :info:build       _hs_iconv in libHSbase-4.17.0.0.a(iconv.o)

The archive file libHSbase-4.17.0.0.a in the ghc install uses the undefined 
symbol _iconv_close; however, macOS 12.5.1 no longer appears to provide a 
system libiconv:
> ls /usr/lib/libiconv*
> ls: /usr/lib/libiconv*: No such file or directory

And port iconv provides the _libiconv_open symbol, not the _iconv_open symbol.

Is anyone aware of a solution to a missing libconv.dylib on recent macOS?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to