error in making lammps

hi
I have found an error while making lammps on red hat enterprise linux 5 i.e.

/usr/bin//ld: cannot find -lgfortron
collect2:ld return I exit status
make[1]:***[…/lmp_linux]error1

kindly help me to remove this error.

best regard
Muhammad Imran
The Islamia Uneversity of Bahawalpur (Pakistan)

hi
I have found an error while making lammps on red hat enterprise linux 5
i.e.

/usr/bin//ld: cannot find -lgfortron
collect2:ld return I exit status
make[1]:***[../lmp_linux]error1

kindly help me to remove this error.

this is _very_ obvious. there is a typo. it has to be -lgfortran

you are linking to a FORTRAN runtime library...

axel.

Hi
It seems you have to install gfortran.

Mehdi