From owner-freebsd-questions@freebsd.org Tue Oct 13 07:57:40 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 209B3A12B8A for ; Tue, 13 Oct 2015 07:57:40 +0000 (UTC) (envelope-from kora.jenkins@googlemail.com) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 0EB8319B3 for ; Tue, 13 Oct 2015 07:57:39 +0000 (UTC) (envelope-from kora.jenkins@googlemail.com) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 4356A1787743 for ; Tue, 13 Oct 2015 00:49:32 -0700 (PDT) Date: Tue, 13 Oct 2015 00:57:33 -0700 (MST) From: kora To: freebsd-questions@freebsd.org Message-ID: <1444723053047-6044663.post@n5.nabble.com> In-Reply-To: <20151001212047.1f79e315@kalimero.tijl.coosemans.org> References: <1443688672992-6042436.post@n5.nabble.com> <20151001212047.1f79e315@kalimero.tijl.coosemans.org> Subject: Re: How to get libiconv on FreeBSD 10 convert utf-8 -> wchar_t ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 07:57:40 -0000 Thank you for your answer - sorry for my late reaction. It doesn't work at all. Please let me explain what I've done. There was already a "/usr/local/lib/libiconv.so" and also a "/usr/local/include/iconv.h" So I tried to make an update of the port by # portsnap fetch # portsnap extract afterwards I tried to install with # make install clean Here I've got an Error ====> Compress man pages (compress-man) ===> Installing for libiconv-1.14_9 ===> Checking for library already installed ===> An older version of libiconv is already installed (libiconv-1.14.8) You may wish to ''make deinstall'' and install port again by ''make reinstall'' to upgrade it properly. If you realy wish to overwrite th old port of libiconv without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** [check-already-installed] Error code 1 So I made # make reinstall Output: ===> Installing for libiconv-1.14_9 ===> Reigistering installation for libiconv-1.14_9 Installing libiconv-1.14_9... I verified the creation date of "/usr/local/lib/libiconv.so" It is new. Trying to use my C application converting "utf-8 -> wchar_t" still has problem converting a non ASCII charater The errno is 86. What have I done false ? Cheers Kora -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-to-get-libiconv-on-FreeBSD-10-convert-utf-8-wchar-t-tp6042436p6044663.html Sent from the freebsd-questions mailing list archive at Nabble.com.