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
it's an RPM bug that removing one removes the shared file - it's being worked on.
fixed in rpm-3.0.1-9, available in today's rawhide.
*** Bug 2825 has been marked as a duplicate of this bug. *** My solution was to uninstall all tetex* RPMs and reinstall them. uninstall complained about not being able to delete many files.