The armhf dynamic linker should only lookup places where armhf shared libraries are found, not where armel shared libraries are found.
armel ld.so looks into /usr/lib and /usr/lib/arm-linux-gnueabi armhf ld.so looks into /usr/lib and /usr/lib/arm-linux-gnueabihf
which badly breaks when the armhf libc6 is installed on armel and vice versa.
The armhf dynamic linker should only lookup places where armhf shared libraries are found, not where armel shared libraries are found.
armel ld.so looks into /usr/lib and /usr/lib/ arm-linux- gnueabi arm-linux- gnueabihf
armhf ld.so looks into /usr/lib and /usr/lib/
which badly breaks when the armhf libc6 is installed on armel and vice versa.