Problem with installing coreutils port

Manish Jain bourne.identity at hotmail.com
Sun Nov 18 06:15:56 UTC 2012


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 at hotmail.com



More information about the freebsd-questions mailing list