Results 1 to 3 of 3
I have this problem:
/usr/bin/ld.real: cannot find -lf2c
So I can not get executable.Last week I wanted to use Intel Fortran compiler and had problems with other program,the removed libf2c.so.(put ...
- 11-22-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 41
problem with -lf2c,fortran code
I have this problem:
/usr/bin/ld.real: cannot find -lf2c
So I can not get executable.Last week I wanted to use Intel Fortran compiler and had problems with other program,the removed libf2c.so.(put libf2c.a)
What should I do know?How to see where the problem is?
- 11-22-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,977
1. You should not have removed the shared library (libf2c.so) - it can co-reside with libf2c.a
2. If some program has a linkage with the shared library, removing it has just broken that application.
3. As for Intel Fortran compiler - sorry, not experienced with it. I try to stay away from Fortran as much as possible (bad memories from Fortran-IV in engineering school)...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-23-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
gfortran is a good alternative. I've been using it for years, no problems.
You will need to install gcc package too I think.
In Linux there has been a change of names for fortran over the years,
which can be confusing.


Reply With Quote