Subject: pkg/33708: failure compiling misc/rpm
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: César Catrián Carreño <ccatrian@eml.cc>
List: pkgsrc-bugs
Date: 06/13/2006 01:35:00
>Number: 33708
>Category: pkg
>Synopsis: failure compiling misc/rpm
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 13 01:35:00 +0000 2006
>Originator: César Catrián Carreño
>Release: NetBSD 3.99.20 i386
>Organization:
>Environment:
System: NetBSD 3.99.20 (SAT) #0: Wed May 31 23:10:25 CLT 2006
cetrox@core.cjc.cl:/home/cetrox/src/netbsd-current/src/sys/arch/i386/compile/obj/SAT
>Description:
Using gettext-lib and pkgsrc's iconv, compiler can't find functions:
/usr/pkg/lib/libintl.a(loadmsgcat.o): In function `_nl_init_domain_conv':
loadmsgcat.c:(.text+0x435): undefined reference to `libiconv_open'
/usr/pkg/lib/libintl.a(loadmsgcat.o): In function `_nl_free_domain_conv':
loadmsgcat.c:(.text+0x480): undefined reference to `libiconv_close'
/usr/pkg/lib/libintl.a(dcigettext.o): In function `_nl_find_msg':
dcigettext.c:(.text+0xa09): undefined reference to `libiconv'
/usr/pkg/lib/libintl.a(relocatable.o): In function `libintl_set_relocation_prefix':
relocatable.c:(.text+0xe9): undefined reference to `libiconv_set_relocation_prefix'
>How-To-Repeat:
>Fix:
Add -liconv when linking the rpm executable file at proper place.