Here I found a helpful text by Dave Storrer which helped me navigate around the most dangerous cliffs.
Here is an outline:
- compile glibc (current version 2.11.2)
- install it into a temporary directory
- remove ld.so.cache
- rename the critical library files, i.e. those having the version number 2.11.2 in the name
- install everything in the final destination
- rename the new files back, one by one...
- ...immediately linking them with the command "
/sbin/ldconfig -l ..."
- don't strip any library symbols