Hi all,
I am working on Red Hat Enterprise Linux ES release 4 (Nahant) with kernel 2.6.9-5 and try to install one application but unable to install it.
When I am trying to install it,it is throwing the following error--
Quote:
This product requires the GNU C++ Runtime Library (libstdc++-libc6.2-2.so.3)
or later. Your system must be upgraded before installation can proceed.
To resolve it,I installed gcc 4.0.0 and when I am trying to see gcc version,it is showing old version.
Quote:
# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
and when I checked under /usr/lib,it is showing libstdc++.so.6.0.3 is installed but unable to find it at the time of installation.
Quote:
ls -l /usr/lib/*stdc*
lrwxrwxrwx 1 root root 18 Jun 17 16:16 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x 1 root root 744136 Dec 1 2004 /usr/lib/libstdc++.so.5.0.7
lrwxrwxrwx 1 root root 18 Jun 17 15:11 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.3
-rwxr-xr-x 1 root root 806176 Dec 14 2004 /usr/lib/libstdc++.so.6.0.3
SO I have two questions-
1) why it is showing old gcc version and how can I upgrade it?
2) why I am getting error when libstdc++.so.6.0.3 is showing by the system and how can I resolve it.
Thanks in advance.