FreeBSD G95 linker error

If G95 gives this error:

ld: cannot find -lf95

tries:
echo "export LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/bin" >> ~/.bashrc

if you use BASH or
echo "setenv LIBRARY_PATH /usr/local/lib" >> ~/.cshrc

if you use CSH.

Restart terminal and try again! ;)