Thanks Steven. Looks like it might be something with my system.
I reinstalled from macports  8.10.7
@ Carter yes I've been carefully   check the compiler version on each trial.
However trying to compile a Haskell source gives the same libHSbase error

ndefined symbols for architecture x86_64:

  "_iconv", referenced from:

      _hs_iconv in libHSbase-

On Tue, Oct 12, 2021 at 2:54 AM Steven Smith <>

> I’m a maintainer of the MacPorts ghc port. The MacPorts installations do
> not have this issue, whether installed from the buildbot binaries or
> compiled from source, that all work on multiple macOS versions 10.9–11.
> Here’s the build recipe:
> The iconv symbol issue is known,
>, and packages like
> MacPorts must build around it.
> This looks like something specific to your configuration.
> If you believe that there is an issue outside your system, please initiate
> a trac ticket at
> On Oct 11, 2021, at 5:00 AM, David Duke <> wrote:
> I have a conundrum on which advice would be appreciate. Does
> anyone know how to successfully install ghc on OSX
> I've tried various binary instalation routes:
> macports, brew, direct binary downloads from

David Duke
Emeritus Professor of Computer Science
School of Computing University of Leeds UK
Glasgow-haskell-users mailing list

Reply via email to