From owner-freebsd-questions@FreeBSD.ORG Sun Nov 18 06:15:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF5C0B8A for ; Sun, 18 Nov 2012 06:15:56 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc1-s26.blu0.hotmail.com (blu0-omc1-s26.blu0.hotmail.com [65.55.116.37]) by mx1.freebsd.org (Postfix) with ESMTP id 662008FC16 for ; Sun, 18 Nov 2012 06:15:56 +0000 (UTC) Received: from BLU0-SMTP351 ([65.55.116.8]) by blu0-omc1-s26.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 17 Nov 2012 22:14:49 -0800 X-Originating-IP: [14.97.158.132] X-EIP: [ul9Mloc/mR1psdCALlY+q4jkT1uOYVKm] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [127.0.0.1] ([14.97.158.132]) by BLU0-SMTP351.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sat, 17 Nov 2012 22:14:48 -0800 Date: Sun, 18 Nov 2012 11:44:47 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Problem with installing coreutils port References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Nov 2012 06:14:49.0623 (UTC) FILETIME=[03DB2270:01CDC554] Cc: jharris@widomaker.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 06:15:56 -0000 Hello All, I recently had to re-install FreeBSD on my system. I installed FreeBSD-8.3-i386 and successfully managed to install all ports except one - the sysutils/coreutils port. Underneath is the error I get : gmake[2]: Entering directory `/usr/ports/sysutils/coreutils/work/coreutils-8.20' CCLD src/factor lib/libcoreutils.a(striconv.o)(.text+0x68): In function `str_cd_iconv': : undefined reference to `libiconv' lib/libcoreutils.a(striconv.o)(.text+0xfa): In function `str_cd_iconv': : undefined reference to `libiconv' lib/libcoreutils.a(striconv.o)(.text+0x180): In function `str_cd_iconv': : undefined reference to `libiconv' lib/libcoreutils.a(striconv.o)(.text+0x26d): In function `str_iconv': : undefined reference to `libiconv_open' lib/libcoreutils.a(striconv.o)(.text+0x290): In function `str_iconv': : undefined reference to `libiconv_close' lib/libcoreutils.a(striconv.o)(.text+0x2bd): In function `str_iconv': : undefined reference to `libiconv_close' lib/libcoreutils.a(striconv.o)(.text+0x303): In function `mem_cd_iconv': : undefined reference to `libiconv' lib/libcoreutils.a(striconv.o)(.text+0x35e): In function `mem_cd_iconv': : undefined reference to `libiconv' lib/libcoreutils.a(striconv.o)(.text+0x3af): In function `mem_cd_iconv': : undefined reference to `libiconv' lib/libcoreutils.a(striconv.o)(.text+0x41b): In function `mem_cd_iconv': : undefined reference to `libiconv' lib/libcoreutils.a(striconv.o)(.text+0x458): In function `mem_cd_iconv': : undefined reference to `libiconv' lib/libcoreutils.a(striconv.o)(.text+0x4d2): more undefined references to `libiconv' follow gmake[2]: *** [src/factor] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/coreutils/work/coreutils-8.20' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/coreutils/work/coreutils-8.20' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/sysutils/coreutils. *** Error code 1 Stop in /usr/ports/sysutils/coreutils. I tried deinstall followed by reinstall of the iconv port. But even that does not solve the problem listed above. Can anyone please point out what might be the error and any possible solution ? I personally think the port is either broken, or the Makefile does not use the correct link options. Thank you & -- Regards, Manish Jain bourne.identity@hotmail.com