Problem with icc and the linker

Problem with icc and the linker


I am trying to compile the example (Intel Xeon Phi Coprocessor developer's quick start guide) that can be found in: 


I compile the sample with the makefile that we can find in the directory. When I execute "make mic" I obtain this warning:

"ld: warning:, needed by /opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/intel64/, not found (try using -rpath or -rpath-link)"

Similar lines to, and

When I run with "./intro_sampleC.out", I obtain:

./intro_sampleC.out: error while loading shared libraries: cannot open shared object file: No such file or directory

¿What is wrong? I checked that,, and files exists in opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/intel64/

Any ideas? Thank you in advance.

6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I found the problem. It didn't activate the search path to the libraries with 


What version of MPSS do you have installed?

Before setting your LD_LIBRARY_PATH as noted, had you sourced the setup script?

Hello Kevin,

this is the partial output to the "micinfo" tool:

System Info
HOST OS : Linux
OS Version : 2.6.32-358.el6.x86_64
Driver Version : 6720-21
MPSS Version : 2.1.6720-21
Host Physical Memory : 32842 MB

Regardig your question, yes I did, i executed "source <path_to_intel>/ intel64"

Hi, I have completely same problem, can you help me with this please? Can't compile any offload OpenMP code.

Here is my output

Thanks for help

The link you provided returns Access denied for me. The original user's issue related to a run-time failure not a compilation failure. Can you please create a new post in our forum and include the details of the error you received. Thank you.

Leave a Comment

Please sign in to add a comment. Not a member? Join today