Despite the egcs-c++ package description, the shared
libstdc++ is included. It ought to be in the libstdc++
package only:
rpm -qf /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
egcs-c++-1.1.2-12
libstdc++-2.9.0-12
egcs-c++
It does include the static standard C++ library and
C++ header files; the library for dynamically linking
programs is available separately.
Due to dependencies one cannot remove the libstdc++ package,
but one can remove the egcs-c++ package (*without* --nodeps)
which in turn will remove the shared library and thus breaks
any depending programs:
rpm -e libstdc++
error: removing these packages would break dependencies:
[snip]
rpm -e egcs-c++
[/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so now gone]
kwm
kwm: error in loading shared libraries:
libstdc++-libc6.1-1.so.2:
cannot open shared object file: No such file or directory