Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2013 09:19:56 -0500
From:      Richard Kuhns <rjk@wintek.com>
To:        "dt71@gmx.com" <dt71@gmx.com>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: GHCi vs iconv_open
Message-ID:  <52B8468C.70004@wintek.com>
In-Reply-To: <52B7310D.4030608@gmx.com>
References:  <52B7310D.4030608@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/22/13 13:35, dt71@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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52B8468C.70004>