Glibc cannot find -lstdc++

Valter Douglas Lisbôa Jr. douglas at trenix.com.br
Tue Aug 26 12:45:54 PDT 2008


Em Tuesday 26 August 2008 16:36:10 satish patel escreveu:
> I have completed GCC Installation but what about c++ it is not in LFS book,
> I am doing this step from LFS book ...step by step.
c++ is not a separate package, it's included in GCC, verify if you 
put --enable-languages=c,c++ in your last GCC ./configure.

What part of book are you? In toolchain or chroot?

>
> -----Original Message-----
> From: lfs-support-bounces at linuxfromscratch.org
> [mailto:lfs-support-bounces at linuxfromscratch.org] On Behalf Of Valter
> Douglas Lisbôa Jr.
> Sent: Tuesday, August 26, 2008 3:25 PM
> To: LFS Support List
> Subject: Re: Glibc cannot find -lstdc++
>
> Em Tuesday 26 August 2008 15:45:50 Satish Patel escreveu:
> > I got this error on make check for glibc
> >
> >
> > ces/glibc-build/libc_nonshared.a -lstdc++ -lgcc_eh
> > /mnt/lfs/sources/glibc-build/elf/ld.so
> > /mnt/lfs/sources/glibc-build/libc_nonshared.a
> > /tools/bin/ld: cannot find -lstdc++
> > collect2: ld returned 1 exit status
> > make[2]: *** [/mnt/lfs/sources/glibc-build/dlfcn/bug-atexit3-lib.so]
> > 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
> > lfs:/mnt/lfs/sources/glibc-build$
> >
> > What i do i ignore this error or do something to resolve it ?
>
> Did you compile gcc with c++?
>
> > Regards,
> >
> > Satish Patel | Unix Administrator
> > _________________________________
> > Mobile : +1-646-327-9153
> > Email  : satish at linuxbug.org
> > Home page : www.linuxbug.org
>
> --
> Valter Douglas Lisbôa Jr.
> Sócio-Diretor
> Trenix - IT Solutions
> "Nossas Idéias, suas Soluções!"
> www.trenix.com.br
> contato at trenix.com.br
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page



-- 
Valter Douglas Lisbôa Jr.
Sócio-Diretor
Trenix - IT Solutions
"Nossas Idéias, suas Soluções!"
www.trenix.com.br
contato at trenix.com.br



More information about the lfs-support mailing list