Several binaries are linked against a non-existant libgmp.so.2. I suspect the build box has an old gmp2 laying around somehwere? In any case, gmp-3.1.1 provides libgmp.so.3 and not the former.