Subject: Re: iconv, profiling and static linking
To: Takehiko NOZAKI <th-nozaki@netwrk.co.jp>
From: None <tlaronde@polynum.com>
List: tech-userlevel
Date: 06/18/2005 10:57:58
Thank you very much for the explanations.

Regards.

On Sat, Jun 18, 2005 at 01:28:44PM +0900, Takehiko NOZAKI wrote:
> hi,
> 
> > Is the iconv stuff relying one way of the
> > other on dshared stuff?
> 
> yes.
> NetBSD's setlocale/iconv framework(so called Citrus)
> depends on dlopen function.
> static linked binary can't load /usr/lib/i18n/* stuffs.
> and we can't use any encoding but C/POSIX built-in libc.
> 
> for more information, see man 3 setlocale's BUG section
> and http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=18151
> 
> if you want all encoding modules built-in libc.a such as FreeBSD
> (and can ignore libc's size disadvantage),
> try attached patch and set /etc/mk.conf
> CITRUS_BUILD_LOADABLE_MODULES=no
> 
> 
> very truly yours.
> --
> Takehiko NOZAKI <tnozaki@NetBSD.ORG>
> 
> 

-- 
Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
http://www.kergis.org/  |  http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C