| the error explanation about intel icc which is installed on the EM64T platform. Intel® C++ Compiler for Linux*
Issues Running Intel® C++ Compiler for Intel® EM64T-based Application
If you see the following error message when running the compiler:
/opt/intel_cc_80/bin/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 Intel® EM64T-based applications 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 EM64T processors will install these 32-bit libraries by default.
the answer to the question:
step 1:cp libm.so.6 libpthread.so.0 libc.so.6 libgcc_s.so.1. from the /lib/ on the 32bit platform to the correspond directory (/lib/) on the 64bit platform system.
step 2:cp libstdc++.so.5.0.7 from the /usr/lib/ on the 32bit platform to the correspond directory (/usr/lib/) on the 64bit platform system. |