Subject: Re: libiconv undefined references
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: John R. Shannon <john@johnrshannon.com>
List: tech-pkg
Date: 05/07/2004 05:23:59
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you.

On Friday 07 May 2004 04:57 am, you wrote:
> hi,
>
> On Fri, May 07, 2004 at 04:35:10AM -0600, John R. Shannon wrote:
> > After a recent update, I'm encountering some undefined references that
> > did not previously exist:
> >
> > undefined reference to `libiconv'
> > undefined reference to `libiconv_open'
> > undefined reference to `libiconv_close'
> > undefined reference to `libiconv_close'
> >
> > Looking at iconv.h I see an unusual guard on the declarations:
> >
> > #ifndef LIBICONV_PLUG
> > #define iconv_open libiconv_open
> > #endif
> >
> > What is going on here? Please.
>
> what's "a recent update"?  netbsd-1-6 -> netbsd-2-0 or -current?
> when are you "encountering some undefined references"?  please provide
> more precise information when you want others to help you..

NetBSD 2.0E, 18hr old src


> there is native iconv() support in netbsd-2-0 and later, so libiconv
> package is not needed (and used) anymore.  you will need to rebuild all
> packages previously using converters/libiconv, though.  if this is your
> problem, it was discussed several times on various mailing lists since
> the support was added to -current.

Thank you. That's enough information to fix my problem.

=2D --=20

John R. Shannon
john@johnrshannon.com
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iEYEARECAAYFAkCbcc8ACgkQOKbCxya4HYuXYwCfUy4/VlbcIgYBd08Hc/fd36KC
=46OcAoJyopyF4KlB+WBLkbQTWrl2RP2nj
=3DPbOQ
=2D----END PGP SIGNATURE-----