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

Can't install icc

wootletootle
Beginner
530 Views
During installation (as root) I get a series of
"failed dependencies", see below. All the
"missing" libraries are in fact either in /lib
or in /usr/lib.

I realize that
my system does not satisfy the stated requirements
in that I have later versions of the kernel, glibc
than is recommended.

Does this have something to do with the install
error message, or is it something else?

Thanks for any assistance,

Regards,
Roger Young
r.young@irl.cri.nz

...................................................
Intel C++ Compiler for 32-bit applications, Version 7.0 Build 20021021Z
Installing...
error: failed dependencies:
ld-linux.so.2 is needed by intel-icc7-7.0-65
libc.so.6 is needed by intel-icc7-7.0-65
libm.so.6 is needed by intel-icc7-7.0-65
libpthread.so.0 is needed by intel-icc7-7.0-65
libc.so.6(GLIBC_2.0) is needed by intel-icc7-7.0-65
libc.so.6(GLIBC_2.1) is needed by intel-icc7-7.0-65
libc.so.6(GLIBC_2.1.3) is needed by intel-icc7-7.0-65
libc.so.6(GLIBC_2.2) is needed by intel-icc7-7.0-65
libm.so.6(GLIBC_2.0) is needed by intel-icc7-7.0-65
libpthread.so.0(GLIBC_2.0) is needed by intel-icc7-7.0-65
libpthread.so.0(GLIBC_2.1) is needed by intel-icc7-7.0-65
Installation failed.
..................................................
0 Kudos
5 Replies
TimP
Honored Contributor III
530 Views

If your linux is new, why not try icc-7.1? If it's a totally different brand, you might try, at your own risk, setting up symlinks to make your .so libraries appear with the names required. You may have trouble with openmp finding bugs in certain versions of libpthread.
0 Kudos
wootletootle
Beginner
530 Views
Thanks for your suggestion. I will do this.
Where should the symlinks be set ? ie where
does icc expect to find the libraries?

Regards,
Roger Young

r.young@irl.cri.nz
0 Kudos
TimP
Honored Contributor III
530 Views
Among the places where icc would normally search for these libraries are the /ia32/lib directory of your installation (/opt/intel/compiler70/ia32/lib/ by default), and, on a standard linux installation, /usr/lib . icc expects to see the same top level PATH as gcc, and icc invokes the same ld as gcc on the usual installation.
0 Kudos
wootletootle
Beginner
530 Views
Hmm, I downloaded icc v.7.1.025 and set up symlinks
to the 'missing' libraries in
/opt/intel/compiler70/ia32/lib/
but I still get exactly the same error messages
'failed dependencies' as above (from intel-icc7-7.1-29).

I am running Slackware Linux 8.1 with kernel 2.4.20.
The glibc version is 2.3.1.

Any other suggestions?

Roger
r.young@irl.cri.nz
0 Kudos
wootletootle
Beginner
530 Views
Just to close this topic, I believe the "missing"
libraries are only missing from the rpm database.
So this error is only likely to affect people who
don't use the rpm system to install packages (like
me: I have a Slackware distribution). To get around
the problem I used the following flags for rpm within
the Intel install script:

[rpm] -ivh --nodeps

This allowed a properly configured installation of the Intel compiler.

I find it useful when I encounter a C++ compilation problem to run both icc and g++ and compare results.
0 Kudos
Reply