/usr/bin/x86_64-linux-gnu-gcc-ranlib is in gcc 4:4.8.2-1ubuntu6.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/gcc-ranlib-4.8
/usr/bin/gcc-ranlib-4.8