[Gllug] gcc compiler versions

Peter Grandi pg_gllug at gllug.for.sabi.co.UK
Tue Nov 22 23:43:54 UTC 2005


>>> On Tue, 22 Nov 2005 14:58:48 +0000, TM <tm at tm.uklinux.net> said:

tm> Dear all, I'm trying to install a piece of software that
tm> seems to require a version of gcc that is older than the one
tm> that is installed in the system (Fedora Core 4). [ ...]

Not quite, according to what you report it requires an older
version of a _runtime_ library:

tm> /usr/bin/ld: warning: libstdc++.so.5, needed by 
tm> /usr/local/share/pi-1.3.6-Lite/lib/liblcg_AIDA_AnalysisFactory.so, not 
tm> found (try using -rpath or -rpath-link)

Fedora like other RedHat systems had older versions of the
runtime libraries, for backward compatibility in cases like
this, and in packages whose name begins with 'compat-....'.

Now, I have got a Fedora 4 install somewhere, lets see...

-----------------------------------------------------------------
# yum -C list 'compat*'
Setting up repositories
Reading repository metadata in from local files
Available Packages
compat-db.i386                           4.2.52-2               base
compat-gcc-32.i386                       3.2.3-47.fc4           base
compat-gcc-32-c++.i386                   3.2.3-47.fc4           base
compat-gcc-32-g77.i386                   3.2.3-47.fc4           base
compat-libf2c-32.i386                    3.2.3-47.fc4           base
compat-libgcc-296.i386                   2.96-132.fc4           base
compat-libstdc++-296.i386                2.96-132.fc4           base
compat-libstdc++-33.i386                 3.2.3-47.fc4           base
compat-openldap.i386                     2.2.29_2.1.30-1.FC4    updates-released
compat-readline43.i386                   4.3-2                  base
compat-slang.i386                        1.4.5-10               base
----------------------------------------------------------------

It is one of the two 'compat-libstdc++-...', probably the '33'
one. You can install both ''just in case'' :-).

Uhm I have also tried 'yum provides libstdc++.so.5', but it
seems to work only for installed packages, probably from the
RPM database.

[ ... ]

BTW, congratulations on a question that reported sufficient
context and details to be useful... They are quite rare, in
this mailing list or elsewhere.

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list