Compile static against local glibc

Matthias Benkmann matthias at
Tue Oct 15 05:54:36 PDT 2002

On Tue, 15 Oct 2002 14:23:58 +0200 (MET DST) "Florian FERNANDEZ"
<Florian.Fernandez2 at> wrote:

> I've just compile gcc-3.3 and glibc-2.3.1 on my system (in /usr/local).
> I want to link my static bash to my new glibc-2.3.1.

Why don't you just use one of the provided workarounds?
> How can I link it ?

I'm not sure if it works but you could try CC="gcc -s
-L/usr/local/wherever_libc_so_6_is_located" instead of just CC="gcc -s" in
chapter 5. But you have to link bash, tar and ls against the new libc if
you want to do without the workaround. Bash alone is not enough.

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

More information about the lfs-dev mailing list