Hi > I've got an older redhat 6.2 box that has glibc 2.1.3-28 on it. > The binary rpm's won't install (needs glibc 2.2), and rebuilding the > source rpm gives: > [...] > error: Bad exit status from /var/tmp/rpm-tmp.94268 (%build)
You don't need a newer glibc version but a newer compiler. RedHat 6.2 comes with the egcs compiler. You need gcc 2.95. I'm using gcc-2.95.4-4h (but gcc-2.95.2-1i works, too). You can find all you need at www.rpmfind.net. Look for YellowDog linux SOURCE packages. YellowDog is for PowerPC, but it's fully RedHat compatible and rebuilding source packages works perfectly. 1. download gcc-2.95.4-4h.src.rpm from http://rpmfind.net/ (gcc-2.95.2-1i.src.rpm works, too) 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. Optional: at this time you may want to rerebuild your gcc 2.95.4 with itself. 5. Rebuild MySQL (*): # rpm --rebuild MySQL-3.23.xx-1.src.rpm 6. Finally install MySQL binaries (*) To rebuild MySQL-2.23.54-1 you also need to upgrade a few packages. Look at the "Compiling 3.23.54-1 - new tools installed !" thread. --------------------------------------------------------------------- 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