Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Can't Find lgfortran

Posted by: terryphi May 17 2013, 11:08 PM

Hey Guys,

I'm trying to install some software, and I'm getting this message:

Install : File /home/robot5/Desktop/Version4_lgpl/Ganlib/lib/Linux x86_64_intel/GANLIB.o was produced
Install : Library /home/robot5/Desktop/Version4_lgpl/Ganlib/lib/Linux x86_64_intel/libGanlib.a was produced
Link : gfortran -m32 -frecord-marker=4 -O GANLIB.o
/home/robot5/Desktop/Version4_lgpl/Ganlib/lib/Linux x86_64_intel/libGanlib.a
/home/robot5/Desktop/Version4_lgpl/Ganlib/../Utilib/lib/Linux x86_64_intel/libUtilib.a
-o /home/robot5/Desktop/Version4_lgpl/Ganlib/bin/Linux x86_64_intel/Ganlib
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6/ when searching for -lgfortran
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6/libgfortran.a when searching for -lgfortran
/usr/bin/ld: cannot find -lgfortran
collect2: ld returned 1 exit status
Install : Exec /home/robot5/Desktop/Version4_lgpl/Ganlib/bin/Linux x86_64_intel/Ganlib was NOT produced
Install : ERROR

Any ideas on this? this is my first time compiling with fortran on linux.

Posted by: michaelk May 18 2013, 04:33 PM

What linux distribution / version are you running?
What are you trying to install?

Powered by Invision Power Board (
© Invision Power Services (