Glibc cannot find -lstdc++

satish patel satish at linuxbug.org
Tue Aug 26 13:42:16 PDT 2008


I have this file in my system

lfs:/mnt/lfs/sources/glibc-build$ ls -l /usr/lib/libstdc++.so*
libstdc++.so.6      libstdc++.so.6.0.3


but strange thing is this two file also located here

rpm -ql libstdc++-devel-3.4.6-9

/usr/lib/gcc/i386-redhat-linux/3.4.3/libstdc++.a
/usr/lib/gcc/i386-redhat-linux/3.4.3/libstdc++.so

Means my ld can't able to find it so if I put this path in ld.so.conf then
it will work correct ??



-----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 4:29 PM
To: LFS Support List
Subject: Re: Glibc cannot find -lstdc++

> My ld can not find file -lstdcc++ is this the problem ??
The /usr/lib/libstdc++.so or /usr/lib/libstdc++.a is been missing by the 
compiler. 

-- 
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




More information about the lfs-support mailing list