Subject: gettext library problem
To: None <>
From: None <>
List: tech-pkg
Date: 05/14/2004 14:08:02
Hi List,

I got this error during the pkgsrc gettext build.:

gcc -O2 -mips4 -mabi=64 -I/usr/pkgsrc/devel/gettext/work/.buildlink/include
-mabi=64 -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/test-names test-names.o 
libuniname.a ../lib/.libs/
/usr/pkgsrc/devel/gettext/work/.buildlink/lib/ -liconv -lc -Wl,-rpath
ld64: WARNING 85: definition of locale_charset in ../lib/.libs/
preempts that definition in
ld64: FATAL 9: I/O error (-liconv): No such file or directory
collect2: ld returned 32 exit status
*** Error code 1

It worked fine after a:

cd /usr/pkg/lib; for i in libiconv.*; do ln -s $i
/usr/pkgsrc/devel/gettext/work/.buildlink/lib/$i; done

The system config:

Operating System: IRIX 6.5.20
Backend:          SGI (ld and assembler)
CC:               gcc3.3 (from