MySQL daemon failing?

Gabe

2[H]4U
Joined
Apr 9, 2000
Messages
3,675
The command /usr/bin/mysql -V returned :

/usr/bin/mysql: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)


I made sure that my Shared Libraries path was set (/lib/) and it still has no resolve. What sort of

I have ran yum provides libgcc_s.so.1 and it returns:
libgcc.i386 3.4.6-3 installed


Thoughts on how I can resolve this problem or just wipe the MySQL install out entirely and start this shit fresh?
 
I ran a gcc --version and got:

gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)


I found an RPM for gcc 4.2.0 but when I tried to upgrade it:

[root@nrgetik virtual]# rpm -U gcc-4.2.0-0.20061206r119598.2.x86_64.rpm
error: Failed dependencies:
binutils >= 2:2.16.90.0.1-0.3 is needed by gcc-4.2.0-0.20061206r119598.2 .x86_64
libc.so.6()(64bit) is needed by gcc-4.2.0-0.20061206r119598.2.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by gcc-4.2.0-0.20061206r119598.2 .x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by gcc-4.2.0-0.20061206r119598.2.x 86_64
libgcc = 5:4.2.0-0.20061206r119598.2 is needed by gcc-4.2.0-0.20061206r1 19598.2.x86_64
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by gcc-4.2.0-0.20061206r11959 8.2.x86_64
gcc = 3.4.6-3 is needed by (installed) gcc-c++-3.4.6-3.i386
gcc = 3.4.6-3 is needed by (installed) gcc-g77-3.4.6-3.i386
gcc = 3.4.6-3 is needed by (installed) gcc-gnat-3.4.6-3.i386
gcc = 3.4.6-3 is needed by (installed) gcc-java-3.4.6-3.i386
gcc = 3.4.6-3 is needed by (installed) gcc-objc-3.4.6-3.i386
gcc = 3.4.3 is needed by (installed) libtool-1.5.6-4.EL4.1.c4.4.i386


I tried upgrading binutils, binutils.i386 2.15.92.0.2-21 installed, however that is the latest version for CentOS, I believe.
 
do a uname -a

It looks like you were trying to install the x86-64 version of GCC 4.2.0, and I just wanted to make sure that's the right one.
 
Back
Top