glibc-2.3 is out

Greg Schafer gschafer at zip.com.au
Fri Oct 4 21:57:25 PDT 2002


On Fri, Oct 04, 2002 at 09:51:40PM +0200, Matthias Benkmann wrote:
> On Fri, 4 Oct 2002 15:26:00 +1000 Greg Schafer <gschafer at zip.com.au>
> wrote:
> 
> > This is a really huge pain for LFS. Now we are going to have to jump
> > thru' hoops just to run a static bash shell (linked on a glibc-2.2.5 or
> > earlier based system). Unless someone figures out a painless way to make
> > it work..
> 
> Try 
> 
> sed -e 's/nss/FOO/g' -e 's/libn/FOOB/g' /static/bin/bash >patched-bash
> 
> and see if patched-bash works. This is a brutal hack but in my test strace
> shows no references to any libnss anymore (there's still a reference to
> libc.so.6, so it may still be necessary to make this available through
> LD_LIBRARY_PATH.

Shame on you MSB! That is one seriously dirty hack! But I like it :)

Only trouble is, I couldn't make it work. Maybe my sed is broken or
sumthin. Doing a cmp on bash and patched-bash showed no differences.
No offence dude but think I'll skip on this style of hack!

Greg
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list