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

icpcbin in EM64T package appears to be ELF32 not ELF64

gmr001
Beginner
331 Views
Hi,

I downloaded the file: l_cc_p_10.0.023_intel64.tar.gz

Unpacked it and followed the rpm to Debian installation route outlined here: http://ubuntuforums.org/showthread.php?t=179589

After installation "icpcbin" will not run, the output of "readelf" says that it is because the binary is ELF32 and I think it should probably be ELF64.

So the question is, is it wrong in the downloaded file?

My platform is Intel Xeon 5050 (x86-64) and I am using Ubuntu 7.0.4.

Comments appreciated!

Greg
0 Kudos
4 Replies
JenniferJ
Moderator
331 Views

Check this FAQ http://www.intel.com/support/performancetools/sb/CS-025939.htmto see if it helps.

Also please post the output msg.

0 Kudos
TimP
Honored Contributor III
331 Views
If you managed to install Ubuntu without 32-bit support libraries, yes, the fact that the compiler runs in 32-bit mode would be a problem. As with all x86-64 systems, the Intel compiler for generating 64-bit code requires the 32 bit libraries. I don't see 64-bit systems specifically covered in the reference Jennifer supplied, but it's in the general prerequisites.
0 Kudos
John_O_Intel
Employee
331 Views

Hi,

Sorry the FAQ Jennifer pointed to didn't make it clear that the 32-bit version of libstdc++.so was required (although it was implicit by the location in /usr/lib not /usr/lib64). I will update the FAQ, thanks for the feedback.

This FAQ explains you need the 32-bit version of libstdc+so.5 for the 10.0 compilers.

http://www.intel.com/support/performancetools/sb/CS-026141.htm

The compilers are 32-bit applications, which is why the 32-bit version of libstdc++.so is required.

Hope this helps,

_|ohnO

0 Kudos
gmr001
Beginner
331 Views
Thanks for all the suggestions.

I installed the following Ubuntu packages:

'lib32stdc++6'
'libstdc++5'

and it now works.

Thanks again,

Greg
0 Kudos
Reply