Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Installation error

marco_v
Beginner
253 Views
Hi,

I've installed Intel Compiler Suite for 64bit Linux (wich includes, the compiler, mkl, etc).
I'm running a CentOS 5.
But when i try to use the icc compiler, I get this error

/opt/intel/Compiler/11.1/072/bin/intel64/icc -o a a.c

/opt/intel/Compiler/11.1/072/bin/intel64/mcpcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

compilation aborted for a.c (code 127)


and this is a.c

#include
#include

int main (int argc, char *argv[])
{
printf("test");
}

Do you any ideas of what might be causing this error?

Also, I already have both 64bit and 32bit installed:


yum install libstdc++
Package libstdc++-4.1.2-46.el5_4.2.x86_64 already installed and latest version
Package libstdc++-4.1.2-46.el5_4.2.i386 already installed and latest version

Thank you,
Marco

0 Kudos
1 Reply
marco_v
Beginner
253 Views
Solved the problem with the following command:

"yum install compat-libstdc++-33"

I had only -33-3.2.3-61.i386 .

I had to install the x86_64as well.


Thank you,
Marco
0 Kudos
Reply