| July 6, 2009 1:00 AM PDT | |
Cause:
When compiling with the Intel(R) Compilers on Linux*, the error message: "Diagnostic 10149: option '-cxxlib-gcc' not supported with the current installed GCC" is an indication that some inconsistency exists in g++ installation.
The compiler driver performs a series of checks to make sure the compiler will be able to use the installed gcc and if errors are found this error is given.
Example:
There are many causes of this error, all related to improper installation of g++. Here are some based on our experience.
1) Your gcc and g++ versions are not in sync. Try gcc --version and g++ --version to compare them.
2) The gcc and g++ have different search directories for libraries. Try gcc --print-search-dirs and g++ --print-search-dirs
3) Permissions for g++ may not allow access for the compiler user account.
Resolution:
No solution is currently available. (A better diagnostic may be available in future compilers).
When compiling with the Intel(R) Compilers on Linux*, the error message: "Diagnostic 10149: option '-cxxlib-gcc' not supported with the current installed GCC" is an indication that some inconsistency exists in g++ installation.
The compiler driver performs a series of checks to make sure the compiler will be able to use the installed gcc and if errors are found this error is given.
Example:
There are many causes of this error, all related to improper installation of g++. Here are some based on our experience.
1) Your gcc and g++ versions are not in sync. Try gcc --version and g++ --version to compare them.
2) The gcc and g++ have different search directories for libraries. Try gcc --print-search-dirs and g++ --print-search-dirs
3) Permissions for g++ may not allow access for the compiler user account.
Resolution:
No solution is currently available. (A better diagnostic may be available in future compilers).
Do you need more help?
This article applies to: Intel® C++ Compiler for Linux* Knowledge Base, Intel® C++ Compiler for Mac OS X* Knowledge Base, Intel® Fortran Compiler for Linux* Knowledge Base, Intel® Fortran Compiler for Mac OS X* Knowledge Base
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (4) 
| November 18, 2008 3:09 PM PST
Rocks | Maybe you also need compat-libstdc++-33 to provide libstdc++.so.5. |
| January 20, 2009 2:14 PM PST
Stones |
Hey, please document this! I have the following packages installed, still get the error: libstdc++-4.1.2-42.el5 compat-libstdc++-33-3.2.3-61 libstdc++-devel-4.1.2-42.el5 libstdc++-devel-4.1.2-42.el5 compat-libstdc++-33-3.2.3-61 libstdc++-4.1.2-42.el5 compat-libstdc++-296-2.96-138 Probably because the version's too new?: [tim@alw10 gaussian-rebuild]$ g++ --version g++ (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42) Copyright (C) 2006 Free Software Foundation, Inc. Come on! Someone at Intel knows EXACTLY why this message appears, please get the info out to us poor users... |
| May 13, 2010 2:38 PM PDT
Kewei
|
I resolved this problem by installing proper C++ library in our system. Even for 64-bit Linux system, you still need to install 32-bit version of the standard C++ library, libstdc++.so.5. Check out his page: http://software.intel.com/en-us/articles/using-intelr-compil.....er-fedora/ |
Trackbacks (0)
Leave a comment 
To obtain technical support, please go to Software Support.
Author
Wendy Doerner (Intel)
| ||
Ganesh Rao (Intel)
|



Rocks