When I do # chroot /mnt/gentoo /bin/bash chroot: failed to run command `/bin/bash': Accessing a corrupted shared library I am unable to diagnose - which library is corrupted. I wish to have all libraries to be linked statically into executable file
having a static bash is irrelevant to diagnosing your broken system. Gentoo already provides a static rescue shell via busybox (bb). *** This bug has been marked as a duplicate of bug 8355 ***