glibc install error

Dan Nicholson dbn.lists at
Tue Sep 25 15:26:01 PDT 2007

On 9/25/07, reeve.r at <reeve.r at> wrote:
> Hi,
> Can anyone help with the following error obtained following make
> install of glibc-2.3.6 Chapter 6 of LFS version 6.2
> CC="gcc" /usr/bin/perl scripts/ /sources/glibc-
> build/
> gcc: _L/usr/lib: No such file or directory
> Execution of gcc failed!

It looks like the you had a typo in the sed command that we use to fix
up It's trying to execute with "_L/usr/lib", but
the command in the book says to add "-L/usr/lib":

sed -i \
's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ -o|' \

You'll have to fix up that script to work correctly. Probably the
following command from the glibc-2.3.6 directory will do the right

sed -i 's/_L/-L/g' scripts/

I'm curious, why not use the recently released LFS-6.3 version?


More information about the lfs-support mailing list