LFS 6.3 / glibc 2.5 build issue : libgcc_s.so.1 not found

Saifi Khan saifi at twincling.org
Tue Sep 18 03:16:48 PDT 2007


I am trying to build a system, using LFS Live CD for AMD64
ie. lfslivecd-x86_64-6.3-r2014iso and book LFS 6.3 stable.

There is an issue encountered while building GLIBC package
as outlined in Sec 5.6.1

Here are the steps I have undertaken.

1. applied the glibc branch patch.

2. while configparms has not been specified in the manual,
   I have set it up as

3. ../glibc-2.5/configure --prefix=/tools --with-binutils=/tools/bin
   --with-headers=/tools/include --disable-profile --enable-add-ons
   --enable-kernel=2.6.0 --without-gd --without-selinux  --without-cvs

4. run 'make'

/mnt/lfs/sources/glibc-build/sunrpc/rpcgen: error while loading shared
libraries: libgcc_s.so.1: cannot open shaerd object fle: No such file or

make[2]: Leaving directory '/mnt/lfs/sources/glibc-2.5/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/glibc-2.5'
make: *** [all] Error 2

The error reported is regarding 'libgcc_s.so.1' not found !

This library is available in /tools/lib64 directory.

How do I get the build env to see this DSO in /tools/lib64 ?

Settings LD_LIBRARY_PATH does not work and may not be the
corect way to go about about addressing this issue.

Any pointers or suggestions will be greatly appreciated.


TWINCLING Society            http://www.twincling.org/
freedom of innovation        Hyderabad AP, India.

More information about the lfs-support mailing list