Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

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

$
0
0

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

 

 

  • Intel System Studio
  • Developers
  • Linux*
  • Yocto Project
  • C/C++
  • Beginner
  • Intel® C++ Compiler
  • Intel® System Studio
  • URL
  • Compiler Topics
  • Getting started

  • Viewing all articles
    Browse latest Browse all 3384

    Trending Articles



    <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>