Today I had to install rar support to unpack a big file. I’ve tried to download an archive from rarlab site and even unpacked it. Everything seemed to be nice, but when I tried to unpack a file, I faced the following error:
unrar: /lib/tls/libc.so.6: version `GLIBC_2.4′ not found (required by unrar) . I’ve searched for an updated version of glibc (when I started to look at linux servers I’ve uninstalled glibc without dependences and I don’t recommend to repeat it) and there was no such one for CentOS (RHEL4). I’ve found the solution at http://www.cyberciti.biz/ – a very nice site for Linux administrators. Here it is:
rpm -Uvh unrar-3.6.2-1.el4.rf.i386.rpm
unrar e rarfile.rar
This worked for me and it was the easiest way to install rar support on CentOS. Just do this as root and rar files will become accessible to you.