Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.a)
    What should I do know?How to see where the problem is?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    1. You should not have removed the shared library ( - 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!

  3. #3
    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.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts