/usr/mips64-linux-gnuabin32/bin/ranlib is in binutils-mips64-linux-gnuabin32 2.30-15ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/mips64-linux-gnuabin32/bin/../../bin/mips64-linux-gnuabin32-ranlib