On Wed, Dec 03, 2003 at 12:37:48PM +0200, Mark Silberstein wrote:
> Hi all,
> can anyone explain, why statically linked binaries from glibc2.2 systems
> segfault on glibc2.3 systems? If the link is static, doesn't it mean
> that binary compatibility between the systems is sufficient to run the
> executable?
> Mark

strace them. I recall somethingregarding a different nsswitch
interface (/lib/nss* ) which is loaded via ldopen after readin
/etc/nsswitch. I believe that this is why /bin/rpm is not statically
linked on RH9.

For one specific use I was able to get away with using a different libc
altogether (uClibc for producing the ultimatly static busybox)

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]


Reply via email to