Problem with Patch

Chris Lingard chris at
Fri Jan 3 12:57:09 PST 2003

Balaji Gururaja Rao wrote:

> Hi,
> I'm in 6th chapter trying to install Glibc. I wanted to patch using the
> glibc-2.2.5-2.patch. I get a meassage as follows
> static/bin/bash: /static/bin/patch: No such file or directory.
> This is after chrooting $LFS as the new root and /static/bin/patch pretty
> well exists. Why is this so?

Well you can see the file,  possibly you have done
ls  $LFS/static/bin/patch

You need to see if it is static.  Do
file  $LFS/static/bin/patch

If it says "dynamic", return to chapter 5 and make patch again.  It
must be a statically linked program to work in the chroot environment.


Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list