[1635] in SIPB_Linux_Development
Re: Possible problem with gnumalloc.so in old machines
daemon@ATHENA.MIT.EDU (Erik Nygren)
Sun Mar 30 14:30:26 1997
To: Derek Atkins <warlord@MIT.EDU>
Cc: Emil Sit <sit@MIT.EDU>, linux-dev@MIT.EDU
In-Reply-To: Your message of "30 Mar 1997 12:52:37 EST."
<sjmohc1clne.fsf@incommunicado.ihtfp.org>
Date: Sun, 30 Mar 1997 14:33:50 EST
From: Erik Nygren <nygren@MIT.EDU>
Look again. The installed infoagents version of netscape now LD_PRELOADs
gnumalloc.so. The problem Emil is referring to is that gnumalloc.so
is not compatable with old versions of libc. We could either tell
users to upgrade or somehow figure out which version of libc 5
they're using and only do LD_PRELOAD if it's newer than 5.2 (ewww).
Erik
> The problem is that the Linux version of netscape in the infoagents
> locker doesn't LD_PRELOAD gnumalloc.so. So, it will _only_ work with
> libc version 5.2.18. If you are running a newer (or older) version of
> libc, then netscape in infoagents wont work.
>
> I've sent in a bug report to get netscape to LD_PRELOAD the proper
> library to fix this problem, but it hasn't happened, yet.
>
> -derek
>
> Emil Sit <sit@MIT.EDU> writes:
>
> >
> >
> > I've seen two people have the following problem (see end) when they try
> > to start up netscape. I assume the problem is related to gnumalloc.so
> > since nm of it gives:
> >
> > 00002894 A __bss_start
> > U __default_morecore_init
> >
> > I suspect the problem will manifest itself on any Slackware 3.0 machine.
> > libc 5.0.9 does not have morecore_init whereas 5.2.18 does:
> >
> > 25 % nm /lib/libc.so.5.2.18 | grep morecore
> > 00032884 T __default_morecore
> > 000328a8 T __default_morecore_init
> > 00079064 D __morecore
> > 000316bc t morecore
> >
> > 26 % nm /lib/libc.so.5.0.9 | grep morecore
> > 00031d60 T __default_morecore
> > 0007b3d4 D __morecore
> > 00030b70 t morecore
> >
> > Do people running old systems just lose?
> >
> > > basename: can't resolve symbol '__default_morecore_init'
> > > send_message: can't resolve symbol '__default_morecore_init'
> > > /mit/gnu/arch/i386_linux1/bin/gdu: can't resolve symbol '__default_morecore_init'
> > > awk: can't resolve symbol '__default_morecore_init'
> > >
> > > **** Netscape is eating K of your quota! ****
> > > To correct, this situation, quit Netscape, and then run
> > > add infoagents
> > > netscape-fix
> > > rm -rf ~/.netscape/cache
> > > grep: can't resolve symbol '__default_morecore_init'
> > > xset: can't resolve symbol '__default_morecore_init'
> > > sh: can't resolve symbol '__default_morecore_init'
> > > /mit/infoagents/arch/i386_linux1/bin/Mozilla301: can't resolve symbol '__default_morecore_init'
> > > rm: can't resolve symbol '__default_morecore_init'
> > --
> > Emil Sit / Bronx Science '95, MIT '99 -- ESG, SIPB, Athena Consulting
> > Email: sit@mit.edu / Web: http://web.mit.edu/sit/www/
> > PGP KeyID: 0xE63561E9 / Fingerprint: A68FD0693EDABA19 2671EC1F22498F58