<div dir="ltr">I have a conundrum on which advice would be appreciate. Does<div>anyone know how to successfully install ghc on OSX </div><div>I've tried various binary instalation routes:</div><div>macports, brew, direct binary downloads from <a href="http://haskel.org">haskel.org</a></div><div>All have the same result. when I try to compile a basic hello world program I get</div><div><br></div><div>Undefined symbols for architecture x86_64:<br>  "_iconv", referenced from:<br>      _hs_iconv in libHSbase-4.14.3.0.a(iconv.o)<br>     (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncoding1_closure, _base_GHCziIOziEncodingziIconv_iconvEncoding1_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding15_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_info , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding12_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding11_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _base_GHCziIOziEncodingziIconv_iconvEncoding12_info , _base_GHCziIOziEncodingziIconv_iconvEncoding13_info , _base_GHCziIOziEncodingziIconv_iconvEncoding11_info , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding_info , _base_GHCziIOziEncodingziIconv_iconvEncoding13_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncoding14_bytes , _base_GHCziIOziEncodingziIconv_iconvEncoding15_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding10_bytes , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding5_closure )<br>  "_iconv_open", referenced from:<br>      _hs_iconv_open in libHSbase-4.14.3.0.a(iconv.o)<br>     (maybe you meant: _hs_iconv_open)<br>  "_iconv_close", referenced from:<br>      _hs_iconv_close in libHSbase-4.14.3.0.a(iconv.o)<br>     (maybe you meant: _hs_iconv_close)<br>  "_locale_charset", referenced from:<br>      _localeEncoding in libHSbase-4.14.3.0.a(PrelIOUtils.o)<br>ld: symbol(s) not found for architecture x86_64<br></div><div><br></div><div>I've triedgiong  through ghcup</div><div><br></div><div>8.8.4</div><div>8.6.5.</div><div>8.10.2</div><div>8.10.7</div><div>9.0.1</div><div><br></div><div>all have the same problem.</div><div>I'd be happy to build from source. Small problem: what Haskell compiler do I use?</div><div><br></div><div>Any advice on installs that works along with any changes to paths to avoid the iconv problems would be appreciated as currently my Haskell-related activities have come to a grinding halt. Switchig to a different OS would be nice but its not a </div><div>feasible option a at present.Writing a compiler is starting to look attractive..</div><div><br></div><div>thanks</div><div>David<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>David Duke</div><div>Emeritus Professor of Computer Science</div><div>School of Computing University of Leeds UK</div><div><a href="mailto:E%3Aduke.j.david@gmail.com" target="_blank">E:duke.j.david@gmail.com</a></div><div>W:<a href="https://engineering.leeds.ac.uk/staff/334/Professor_David_Duke" target="_blank">https://engineering.leeds.ac.uk/staff/334/Professor_David_Duke</a></div></div></div></div></div></div></div></div>