RHEL3 missing library

Dag Wieers dag at wieers.com
Fri Mar 2 10:44:29 UTC 2007


On Thu, 1 Mar 2007, mark wrote:

> Michael Scully wrote:
> <snip>
> > 	However, a high number of packages are now failing because of a
> > missing library:
> > GCC_4.2.0 not found (required by /usr/lib/libstdc++.so.5).  If you search
> > the support database, you get the rather lame statement that follows:
> 
> The Gnu C compiler's missing? That's gcc-4.2.0.rpm, I think it's asking for.
> 
> Don't quite understand what needs the C compiler. On the other hand, are you
> sure it's not looking for an update glibc?

The report he made was probably from his head and not entirely correct. 
RPM adds more specifity to requirements that can include GLIBC or GCC 
ABI information. If you simply look at what glibc provides, you can 
see things like:

	libc.so.6  
	libc.so.6(GCC_3.0)  
	libc.so.6(GLIBC_2.0)  
	libc.so.6(GLIBC_2.1)
	.
	libc.so.6(GLIBC_2.3.3) 

For libstdc++ you can see this:

	[root at el3i /]# rpm -q --provides libstdc++-3.2.3-56
	libstdc++.so.5  
	libstdc++.so.5(CXXABI_1.2)  
	libstdc++.so.5(GLIBCPP_3.2)  
	libstdc++.so.5(GLIBCPP_3.2.1)  
	libstdc++.so.5(GLIBCPP_3.2.2)  
	libstdc++ = 3.2.3-56

The fact that on a RHEL3 he sees the GCC_4.2.0 requireÃment probably means 
that he has been mixing packages build for RHEL4 (or another distribution 
with gcc 4) on his RHEL3.

This is not something that happens on a normal system if you stick to what 
Red Hat provides.

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]


More information about the redhat-list mailing list