Search
Support & Downloads
All of Support
This Category
This Product
Software Products
Intel® C++ Compiler for Linux*
Issues running Intel® C++ Compiler for Intel® 64-based application

If you see the following error message when running the compiler:

mcpcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory compilation aborted for /tmp/hello.cxx (code 127)

It is because the Intel® C++ Compiler for applications running on Intel® 64 architecture requires the following 32-bit (IA-32) C and C++ runtime libraries:

libm.so.6, libpthread.so.0, libc.so.6, libstdc++.so.5 and libgcc_s.so.1.

The requirement on 32-bit (IA-32) libraries is due to the compiler and various components being 32-bit applications, and dynamically linking to these libraries. The above error message is confusing as it doesn't indicate that the IA-32 version of libstdc++ library is required. To avoid this problem, install the 32-bit (IA-32) versions of these libraries. Most Linux* distributions for Intel® 64 architecture will install these 32-bit libraries by default.

This applies to:
Intel® C++ Compiler for Linux*

Solution ID: CS-020185
Date Created: 13-Jan-2005
Last Modified: 05-Jun-2007
Back to Top