Subject: Re: pkg/33708: failure compiling misc/rpm
To: None <mycroft@NetBSD.org, gnats-admin@netbsd.org,>
From: None <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 06/13/2006 14:45:05
The following reply was made to PR pkg/33708; it has been noted by GNATS.
From: joerg@britannica.bec.de
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/33708: failure compiling misc/rpm
Date: Tue, 13 Jun 2006 16:43:33 +0200
On Tue, Jun 13, 2006 at 01:35:00AM +0000, César Catrián Carreño wrote:
> 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'
Can you try to find out why it wants to statically link against libintl?
That's the culprit here.
Joerg