Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2012 11:44:47 +0530
From:      Manish Jain <bourne.identity@hotmail.com>
To:        freebsd-questions@freebsd.org
Cc:        jharris@widomaker.com
Subject:   Problem with installing coreutils port
Message-ID:  <BLU0-SMTP351D2E34764AAF9782EF127F6570@phx.gbl>
In-Reply-To: <mailman.67.1353153602.46079.freebsd-questions@freebsd.org>
References:  <mailman.67.1353153602.46079.freebsd-questions@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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