[[!template id=project title="Statically linked locales for libc" contact=""" [christos](mailto:christos@NetBSD.org), [tech-userlevel](mailto:tech-userlevel@NetBSD.org) """ category="userland" difficulty="easy" duration="1 month" description=""" The Citrus local code in NetBSD's libc stores the locale data and code in shared object files. Dynamic linking is used to load the code by name using dlopen(3). The static libc build (libc.a) can't use dlopen(3) to open locales and it only supports the C locale which is hard-coded. This project is about adding make(1) rules to compile all the locales in libc and code to select each one by name. The same technique is used in libpam (libpam.a). """ ]]