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

Missing c++ library?

killuah
Beginner
532 Views
Hello and thanks for reading.

I am trying to get the newest Fortran compiler working with Ubuntu.

I installed the compiler and set the variables via source /opt/etc...
Now whenever I try to compile a source file, I get

/opt/intel/Compiler/11.1/056/bin/ia32/fortcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
ifort: error #10273: Fatal error in /opt/intel/Compiler/11.1/056/bin/ia32/fortcom, terminated by 0x7f
What am I missing? I already tried reinstalling the c++ libraries but that did nothing...
Thanks for reading again
0 Kudos
2 Replies
Steven_L_Intel1
Employee
532 Views
Which specific Linux distro and version are you using?

The Release Notes contain details of what is required. You probably need compat-libstdc++.
0 Kudos
TimP
Honored Contributor III
532 Views
Which specific Linux distro and version are you using?

The Release Notes contain details of what is required. You probably need compat-libstdc++.
The note on Ubuntu at the top of the forum specifies the apt-get command which should install libstdc++.so.5. While red hat calls it compat-libstdc++, the other distros use different names. This library is required in addition to the more current versions which g++ requires.
0 Kudos
Reply