Intel C++ compiler requires ia32 glibc and libgcc libraries on Intel64 host system

By Yang Wang, Published: 05/06/2013, Last Updated: 05/06/2013

    Intel C++ compiler is one of the components in Intel system studio. After you installed the Intel system studio on an Intel64 system, when you invoke the Intel compiler for a compilation, you may have the following error:
       bash: /opt/intel/system_studio_2013.0.016/bin/intel64/icc: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Or you may encounter the following error:
       icc: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

       The error is due to the lack of i686 version glibc and libgcc on 64bit system. The icc compiler bits are 32bit binaries. To make the compiler running on your intel64 host system, the package glibc.i686 and libgcc.i686 must be installed. For example, you can use yum (if your yum service is configured properly) to install the packages:
       $ sudo yum install libgcc.i686 glibc.i686

       If you encounter the following error:
        /opt/intel/system_studio_2013.0.016/bin/intel64/mcpcom: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
you need to install libstdc++, for example:   
        $sudo yum install libstdc++

 

 

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804