<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Never met this issue myself (with currently osx 10.14.6 Mojave, and a few previous versions), I guess macports/homebrew or some other pieces aren't playing nicely with some others in your machine.<div class=""><br class=""></div><div class="">Checkout <a href="https://newbedev.com/libiconv-or-iconv-undefined-symbol-on-mac-osx" class="">https://newbedev.com/libiconv-or-iconv-undefined-symbol-on-mac-osx</a> maybe helpful.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 2021-10-11, at 17:00, David Duke <<a href="mailto:duke.j.david@gmail.com" class="">duke.j.david@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I have a conundrum on which advice would be appreciate. Does<div class="">anyone know how to successfully install ghc on OSX </div><div class="">I've tried various binary instalation routes:</div><div class="">macports, brew, direct binary downloads from <a href="http://haskel.org/" class="">haskel.org</a></div><div class="">All have the same result. when I try to compile a basic hello world program I get</div><div class=""><br class=""></div><div class="">Undefined symbols for architecture x86_64:<br class="">  "_iconv", referenced from:<br class="">      _hs_iconv in libHSbase-4.14.3.0.a(iconv.o)<br class="">     (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 class="">  "_iconv_open", referenced from:<br class="">      _hs_iconv_open in libHSbase-4.14.3.0.a(iconv.o)<br class="">     (maybe you meant: _hs_iconv_open)<br class="">  "_iconv_close", referenced from:<br class="">      _hs_iconv_close in libHSbase-4.14.3.0.a(iconv.o)<br class="">     (maybe you meant: _hs_iconv_close)<br class="">  "_locale_charset", referenced from:<br class="">      _localeEncoding in libHSbase-4.14.3.0.a(PrelIOUtils.o)<br class="">ld: symbol(s) not found for architecture x86_64<br class=""></div><div class=""><br class=""></div><div class="">I've triedgiong  through ghcup</div><div class=""><br class=""></div><div class="">8.8.4</div><div class="">8.6.5.</div><div class="">8.10.2</div><div class="">8.10.7</div><div class="">9.0.1</div><div class=""><br class=""></div><div class="">all have the same problem.</div><div class="">I'd be happy to build from source. Small problem: what Haskell compiler do I use?</div><div class=""><br class=""></div><div class="">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 class="">feasible option a at present.Writing a compiler is starting to look attractive..</div><div class=""><br class=""></div><div class="">thanks</div><div class="">David<br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">David Duke</div><div class="">Emeritus Professor of Computer Science</div><div class="">School of Computing University of Leeds UK</div><div class=""><a href="mailto:E%3Aduke.j.david@gmail.com" target="_blank" class="">E:duke.j.david@gmail.com</a></div><div class="">W:<a href="https://engineering.leeds.ac.uk/staff/334/Professor_David_Duke" target="_blank" class="">https://engineering.leeds.ac.uk/staff/334/Professor_David_Duke</a></div></div></div></div></div></div></div></div>
_______________________________________________<br class="">Glasgow-haskell-users mailing list<br class=""><a href="mailto:Glasgow-haskell-users@haskell.org" class="">Glasgow-haskell-users@haskell.org</a><br class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users<br class=""></div></blockquote></div><br class=""></div></body></html>