From owner-freebsd-current@FreeBSD.ORG Mon Dec 23 14:20:10 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09800A31 for ; Mon, 23 Dec 2013 14:20:10 +0000 (UTC) Received: from local.wintek.com (local.wintek.com [72.12.201.234]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CAF9110C0 for ; Mon, 23 Dec 2013 14:20:08 +0000 (UTC) Received: from rjk.wintek.local (172.28.1.248) by local.wintek.com (172.28.1.234) with Microsoft SMTP Server (TLS) id 8.3.327.1; Mon, 23 Dec 2013 09:20:01 -0500 Message-ID: <52B8468C.70004@wintek.com> Date: Mon, 23 Dec 2013 09:19:56 -0500 From: Richard Kuhns Organization: Wintek Corporation User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "dt71@gmx.com" Subject: Re: GHCi vs iconv_open References: <52B7310D.4030608@gmx.com> In-Reply-To: <52B7310D.4030608@gmx.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: rjk@wintek.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2013 14:20:10 -0000 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 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