Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

compile error - IFC on AMD64 Opteron

jkellio
Beginner
364 Views
when compiling fortran program using IFC 8.1 on Opteron we receive the following error:
ifort -i8 -r8 -extend_source -assume byterecl -convert big_endian -o anywhere anywhere.f
/usr/lib/ld: cannot find -lstdc++
Please let me know what we are missing. I believe I see the IA-32 libraries in /usr/lib.
Thanks,
0 Kudos
1 Reply
TimP
Honored Contributor III
364 Views
-lstdc++ refers to the g++ (C++) library installation which should be provided in your linux installation. A working installation of gcc/g++, including libstdc++.so, is a prerequisite for installation of Intel Fortran. The path to the gcc/g++ libraries is found by running gcc -print-search-dirs. If you moved your gcc installation after installing ifc, you would need to repeat the ifc installation.
0 Kudos
Reply