bug#12728: v8.20 is missing LIBICONV for factor tool
From:
Christian Jullien
Subject:
bug#12728: v8.20 is missing LIBICONV for factor tool
Date:
Thu, 25 Oct 2012 06:30:57 +0200
Hi maintainers,
Trying to compile new 8.20 version on my Solaris 10 sparc machine using gcc
4.7.2, I got an error on factor link:
CCLD src/factor
lib/libcoreutils.a(striconv.o): In function `mem_cd_iconv':
/export/home/jullien/coreutils-8.20/lib/striconv.c:55: undefined reference
to `libiconv'
/export/home/jullien/coreutils-8.20/lib/striconv.c:72: undefined reference
to `libiconv'
I easily fixed this issue adding $(LIBICONV) on Makefile.in (Line 3117):
< src_factor_LDADD = $(LDADD) $(LIB_GMP)
> src_factor_LDADD = $(LDADD) $(LIB_GMP) $(LIBICONV)
This is the only issue I had.
Thanks to include this fix for the next release.
Christian