Hi! > Hi, can any one suggest where I can get latest > MySQL rpms for redhat 6.2 with glibc 2.1x... > the new rpms .49+ are all for glibc 2.2+
I had the same problem. There are four possible solutions: a) The obvious but annoying one: upgrade to RH72... b) The less likely one. Upgrade RH62 to GLIBC22, but this is *STRONGLY DISCOURAGED* by Redhat... c) Trust Sinisa Milivojevic (who is one of MySQL developers). He told me to ignore warnings and force installation of MySQL binaries, since they're statically linked with GLIBC22 d) The difficult way: rebuild binaries. This was my choice (thank to James C. McDonald). In order to rebuild binaries you've to upgrade the gcc compiler, too. Follow these steps: 1. downloaded the gcc-2.95.4-4h.src.rpm from http://rpmfind.net/ (it's from a PPC distro but its RedHat based) 2. built rpms for gcc-2.95-4 on your RH62 box executing: # rpm --rebuild gcc-2.95.4-4h.src.rpm(*) You will find rebuilded packages in /usr/src/redhat/RPMS/i386/ 3. Remove old egcs and install the gcc-2.95-4 rpms you've built. You will need to install gperf-2.7-6.i386.rpm if it is not already installed (it's on your RedHat CD-ROM). # rpm -e egcs-c++-1.1.2-30 # rpm -e egcs-objc-1.1.2-30 # rpm -e egcs-1.1.2-30 # rpm -e cpp-1.1.2-30 # rpm -ivh cpp-2.95.4-4h.i386.rpm # rpm -ivh gcc-2.95.4-4h.i386.rpm # rpm -ivh libstdc++-2.10.0-4h.i386.rpm # rpm -ivh gcc-c++-2.95.4-4h.i386.rpm # rpm -ivh gperf-2.7-6.i386.rpm 4. Rebuild MySQL: # rpm --rebuild MySQL-3.23.49-1.src.rpm 5. Finally install MySQL binaries Regards Gabriele Carioli (*) Actually I'm not sure if you can build directly this version. Infact I formerly built gcc 2.95.2-1i. With this one I built gcc 2.96 (and had to rebuild binutils-2.11 and upgrade to, too), but then it was pointed out that this version of gcc does not work well with mysql. So I finally built gcc-2.95-4 and down-graded to this one. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php