Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Fortran program compilation problem

Ansuman_Sharma
Beginner
384 Views
I installed fortran v 11.0 in fedora9 successfully .
But when i am compiling a "Hello World " program by the command "ifort hello.f" it gives the following erros :

ifort hello.f
/opt/Fortran/bin/ia32/fortcom: /usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by /opt/Fortran/bin/ia32/fortcom)
/opt/Fortran/bin/ia32/fortcom: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by /opt/Fortran/bin/ia32/fortcom)
compilation aborted for hello.f (code 1)

Please suggest , how to solve this issue .

0 Kudos
1 Reply
TimP
Honored Contributor III
384 Views
It looks like the libstdc++ you installed doesn't match the glibc and g++ which are active. Did you follow the Fedora installation instruction which Ron put at the top of this forum?
0 Kudos
Reply