- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page