Diagnostic 10149: option '-cxxlib-gcc' not supported with the current installed GCC

Cause:
When compiling with the Intel® 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).

For more complete information about compiler optimizations, see our Optimization Notice.

4 comments

Top
K. Li's picture

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-compilers-for-linux-under-fedora/

anonymous's picture

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...

anonymous's picture

Maybe you also need compat-libstdc++-33 to provide libstdc++.so.5.

anonymous's picture

Try to install the packages libstdc++-devel-xxxx.

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.