Subject: Re: what's wrong with iconv?
To: Robert Lillack <rob@lillack.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/19/2004 15:16:43
On Sat, 20 Mar 2004, Robert Lillack wrote:

> regardless if I try to build glib2-devel from wip or glib2
> from category devel on my NetBSD 1.6.2 box using pkgsrc

> | ld: cannot find -liconv

I am guessing that it did not get buildlinked. Look for it under
work*/.buildlink/

Check this out on my NetBSD 1.6.2 system:

rainier:/usr/pkgsrc/devel/glib2$ make show-var PKG_PHASE=buildlink
VARNAME=CONFIGURE_ARGS
--enable-gtk-doc=no --includedir=/usr/pkg/include/glib
--with-html-dir=/usr/pkg/share/doc/html --with-libiconv=gnu
--host=i386--netbsdelf --prefix=/usr/pkg --with-libiconv-prefix=/usr/pkg
--without-libintl-prefix
rainier:/usr/pkgsrc/devel/glib2$ make show-var PKG_PHASE=buildlink
VARNAME=USE_BUILTIN.iconv
no
rainier:/usr/pkgsrc/devel/glib2$ make show-var PKG_PHASE=buildlink
VARNAME=IS_BUILTIN.iconv
no
rainier:/usr/pkgsrc/devel/glib2$ make show-var PKG_PHASE=buildlink
VARNAME=_LIBICONV_FOUND
no
rainier:/usr/pkgsrc/devel/glib2$ make show-var PKG_PHASE=buildlink
VARNAME=ICONV_TYPE
gnu
rainier:/usr/pkgsrc/devel/glib2$ make show-var PKG_PHASE=buildlink
VARNAME=BUILDLINK_DEPENDS
iconv gettext pkgconfig pth

   Jeremy C. Reed
   http://www.reedmedia.net/