Problems updating libstdc++ on FC4

Benjamin Kosnik bkoz@redhat.com
Wed Oct 19 15:29:00 GMT 2005


> I am running Fedora Core 4, which comes with    libstdc++-4.0.0-8    as standard. 
> 
> However, tse3, a program I've been trying to install   (version tse3-0.3.0-1, a dependency of noteedit, which I'm trying to get to run)  states for its package dependencies that it needs:
> libstdc++.so.6(GLIBCXX_3.4.5)

Ok. This means that you need to use gcc-4.0.1 or later.

In particular:
libstdc++-4.0.1-4.fc4
libstdc++-devel-4.0.1-4.fc4

You can find these on the fedora mirror.
http://mirrors.kernel.org/fedora/core/updates/4/i386/libstdc++-4.0.1-4.fc4.i386.rpm
http://mirrors.kernel.org/fedora/core/updates/4/i386/libstdc++-devel-4.0.1-4.fc4.i386.rpm

It is quite likely that you will also have to update the gcc/g++/libgcc packages as well.

> I tried installing slightly newer versions of libstdc++: libstdc++-4.0.1-4
> But strangely, this produced this error message:
> 
>   libstdc++          required by ('libstdc++-devel', '4.0.0', '8')    
>   libstdc++          required by ('gcc-c++', '4.0.0', '8')
> 
> Why is this package dependent on itself? On an earlier version I definitely have installed already?  The libstdc++ package I have must be working: I have lots of programs that are dependent on it that are running fine.  

It's not dependent on itself. Other packages (ie gcc-c++ and libstdc++-devel) are dependent on the libstdc++ package.

You'll have to satisfy all requirements when doing the upgrade, which means getting the additional packages and installing them all at the same time. ie:

rpm -Uvh libstdc++-4.0.1-4.fc4.rpm libstdc++-devel-4.0.1-4.fc4.rpm gcc-4.0.1-4.fc4.rpm gcc-c++-4.0.1-4.fc4.rpm

etc etc etc. Keep adding required packages till it works.

I recommend yum or yumex if possible. It makes everything much easier.

-benjamin



More information about the Libstdc++ mailing list