Date: Thu, 24 May 2007 12:56:48 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG, matrix@itlegion.ru, karol.kwiat@gmail.com, sthalik@tehran.lain.pl Subject: Re: Broken locale after upgrade to 6-STABEL from 5-STABLE Message-ID: <200705241056.l4OAumAx090246@lurza.secnetix.de> In-Reply-To: <017c01c79de2$1733a9e0$05000100@Artem>
next in thread | previous in thread | raw e-mail | index | archive | help
Artem Kuchin wrote: > Ahh, well, i just forgot. Of course it is not for a long time > now. But anyhow, why locale in C does not work? And how 'so' lib > is selected for an executable? How OS selected so.5 or so.6 for a > executable file? During compile-time linking (when ld(1) is called), usually the newest version of the library is used (note that libfoo.so is usually a symlink to the newest libfoo.so.*). At runtime, the dynamic linker (rtld(1)) uses the same library version that was used during compilation. If you want a binary to use a different version, you have to recompile it. (Well, there are ways to trick the dynamic linker via libmap.conf and environment variables, but that will break if the libraries in question aren't 100% ABI compatible.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Passwords are like underwear. You don't share them, you don't hang them on your monitor or under your keyboard, you don't email them, or put them on a web site, and you must change them very often.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705241056.l4OAumAx090246>