Subject: what's wrong with iconv?
To: None <>
From: Robert Lillack <>
List: tech-pkg
Date: 03/20/2004 00:06:37

regardless if I try to build glib2-devel from wip or glib2
from category devel on my NetBSD 1.6.2 box using pkgsrc
head I get the following error:

| checking for libiconv_open in -liconv... no
| configure: error: *** No iconv() implementation found in C library or libiconv
| *** Error code 1

work/*/config.log says:

| configure:4488: checking for libiconv_open in -liconv
| configure:4519: gcc -o conftest -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg /include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/
| lib conftest.c -liconv  -lintl >&5
| ld: cannot find -liconv

nm /usr/pkg/lib/ | grep libiconv_open says:

| 0000f288 T libiconv_open

So, what the heck is going on here? Everything seems right
to me. Any ideas?


PS: I'm not subscribed with this address ATM, *please* CC me!
r o b e r t | l i l l a c k
secure mail key: 0xE7FFDF77