Re: GHCi vs iconv_open

From: Richard Kuhns <rjk_at_wintek.com>
Date: Mon, 23 Dec 2013 09:19:56 -0500
On 12/22/13 13:35, dt71_at_gmx.com wrote:
> After a recent installworld, GHCi (``ghc -i'' from lang/ghc) fails like so:
> 
> % ghci
> GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... linking ... ghc: /usr/local/lib/ghc-7.6.3/base-4.6.0.1/HSbase-4.6.0.1.o: unknown symbol `iconv_open'
> ghc: unable to load package `base'
> 
> Running portupgrade to rebuild all (most) ports didn't help. Where's the issue / Do what?

I recently ran into the same problem on 10.0, and thanks to Gabor Pali
(pgj_at_freebsd.org) ghci is working again for me. Here's what he said:

> ... You can find a patch in
> ports/184806 [1] that resolves the problem.  I have not yet come to
> commit this file as I have not finished with the large-scale testing,
> but it is very likely that it will be added to the port soon.
>
> Cheers,
> Gabor
>
> [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=184806

-- 
Richard Kuhns <rjk_at_wintek.com>     Direct:           765-269-8541
Wintek Corporation                 Internet Support: 765-269-8503
427 N 6th Street                   Consulting:       765-269-8504
Lafayette, IN 47901-2211           Accounting:       765-269-8502
Received on Mon Dec 23 2013 - 13:20:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC