0
votes
1answer
1k views

ubuntu /usr/bin/ld: cannot find -lgcc_s

I am compiling a fortran program by using g77 on Ubuntu 14.04, I got the following error: ubuntu /usr/bin/ld: cannot find -lgcc_s Didn't you ever have experience with such problem?
0
votes
1answer
47 views

collect2 error while compiling fortran code

I have installed necdf-4 successfully. I am getting collect2: error: ld returned 1 exit status error when I compile a fortran code that writes netcdf files. I use gfortran compiler. I am sure the ...
0
votes
2answers
945 views

Undefined reference when using gfortran to compile fortran 77 code

I have an old fortran 77 code, which compiles well on Sun workstation. However, there are errors when I try to compile it using gfortran on Ubuntu (64 bits): $ gfortran -Wall -g -Jobj/Debug/ ...
1
vote
1answer
1k views

Cannot find -lgfortran

I'm trying to install a package in R (package "ks"). It fails with error message: /usr/bin/ld: cannot find -lgfortran I've already installed the Ubuntu package build-essential: sudo apt-get ...