Glibc cannot find -lstdc++

Satish Patel satish at
Tue Aug 26 11:45:50 PDT 2008

I got this error on make check for glibc

ces/glibc-build/libc_nonshared.a -lstdc++ -lgcc_eh  
/tools/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[2]: *** [/mnt/lfs/sources/glibc-build/dlfcn/] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1/dlfcn'
make[1]: *** [dlfcn/tests] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1'
make: *** [check] Error 2
lfs:/mnt/lfs/sources/glibc-build$ /tools/bin/ld
ld      ld-new
lfs:/mnt/lfs/sources/glibc-build$ /tools/bin/ld
/tools/bin/ld: no input files

What i do i ignore this error or do something to resolve it ?


Satish Patel | Unix Administrator
Mobile : +1-646-327-9153
Email  : satish at
Home page :

More information about the lfs-support mailing list