/usr/lib/gcc/x86_64-linux-gnu/4.8/x32/libgfortran.so is in libx32gfortran-4.8-dev 4.8.5-4ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/gcc/x86_64-linux-gnu/4.8/x32/../../../../../libx32/libgfortran.so.3