Subject: Re: iconv problems after update?
To: None <current-users@netbsd.org>
From: Takehiko NOZAKI <th-nozaki@netwrk.co.jp>
List: current-users
Date: 03/16/2007 23:54:07
hi,

> iconv: iconv_open(iso-8859-1, utf-16): Invalid argument

it seems that libc can't dlopen(3) /usr/lib/i18n/libUTF1632.so,
or /usr/share/i18n/esdb/UTF/UTF16.esdb is broken.

could you send output of:
$ ktruss /usr/bin/iconv -f utf-8 -t iso8859-1
for me?

> I am rebuilding after update, but libc/iconv and usr.sbin/iconv do not
> appear to have changed in a long time.

it seems that src/libc/Makefile has been changed few days ago.
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/Makefile.diff?r1=1.127&r2=1.128
i suspect -D_I18N_DYNAMIC flag doesn't work(this flag affect iconv(3)).

very truly yours.
--
Takehiko NOZAKI <tnozaki@NetBSD.org>