I too ran into the dreaded missing GLIBC_2.11 problem when compiling rtorrent 0.9.2 in the debian squeeze chroot.
Tried the LD_LIBRARY_PATH stuff to force it to use the new libc from squeeze but got no love there either so I took another tack. To quote the man himself:http://forum.wdlxtv.com/viewtopic.php?f=43&t=494&start=40#p12517
b-rad.cc » Tue Sep 14, 2010 8:48 pm
well it sounds like glibc 2.11 has symbols that don't exist in 2.8. That isn't easily gotten around, solution is to produce a lenny image to chroot into.
So I did that. Not a terrible process but they're hiding lenny in the archive now... http://archive.debian.org/debian/dists/lenny/
Pretty much followed this info http://wdtvforum.com/main/index.php?topic=3303.0
Once that was all set up I did manage to successfully compile the most recent libtorrent and rtorrent in the lenny chroot and it runs! Wild stuff, I know...
I only got this going as the sun was coming up last night/this morning so I just now checked the rutorrent web interface and it is connecting but tossing some errors and doing some strange things so I'm not quite ready to share what I've cooked up, want to investigate this stuff first.
I can put the lenny image somewhere though if you want to try to compile in there yourself, just lmk!