Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I am trying to compile a program (gcc, using some functions from intel's ipp library). It is my first use of ipp, so I think I might be doing some not very clever mistake. Anyhow:

g++ -o inteltrial inteltrial.cpp -I/home/me/Desktop/work/p1/geqw4/vi3/out/sp/ccode/eigen -I/opt/intel/composerxe/ipp/include -L/opt/intel/composerxe/ipp/lib/intel64/ -libipps_l.a -libipps_t.a


/usr/bin/ld: cannot find -libipps_l.a
/usr/bin/ld: cannot find -libipps_t.a

now, -libipps_l.a -libipps_t.a are in /opt/intel/ipp/lib/intel64

How to point gccto the right location?


This post seems to be related, but I can't find on the internet how to add a line to

share|improve this question

2 Answers 2

up vote 0 down vote accepted

this did the trick:

export IPPROOT
cd /home/me/Desktop/work/p1/geqw4/vi3/out/sp/ccode
icpc -O3 -o inteltrial inteltrial.cpp -I/home/me/Desktop/work/p1/geqw4/vi3/out/sp/ccode/eigen -I$IPPROOT/include -L$IPPROOT/lib/intel64 -lipps -lippcore
share|improve this answer

What the error you see is saying is that the program ld cannot find those files. The /usr/bin/ld: part identifies what is throwing the error, not where the checks for the files are occurring.

share|improve this answer
ok, how to show gcc where those files are? –  user2413 Jul 19 '12 at 13:48
@user2413 I am not familiar with how to fix the gcc compiler's options, so don't mark my answer as the correct answer. I would recommend that you amend your question to say "How can I get the system to find the files?", and just leave this answer as a "This was helpful to explain the error" answer. –  Thomas W. Jul 19 '12 at 13:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.