From: Bruno H. <br...@cl...> - 2003-10-16 20:30:49
|
Don Cohen wrote: > > I do a build, then make distrib, then copy the .tar.gz to another > > machine where make fails with messages about undefined references to > > dcngettext. What's to be done? ... > > This machine does have a libintl.h but it does not contain that > > function. And I don't see any libintl.so at all. I begin to get the > > feeling this is related to an old libc (2.1.3) Yes, definitely glibc 2.1.x didn't have ngettext. Binary packages built on glibc 2.2.x are unusable on systems with older glibc. ==> When you want the same binaries to work across a series of versions of the same OS, always build on the oldest available version. This holds for Solaris, AIX etc. as well. The inverse effect (packages which work with glibc 2.2.x but don't work with glibc 2.3.x) is rare; to my knowledge only the Sun JDK 1.3 and some code that extensively relies on LD_PRELOAD have been bitten like this. Bruno |