Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
39 Views

dyld: Library not loaded: @rpath/libifport.dylib

Hi,

I am running OS X El Capitan and just recently installed the compiler by downloading the free student version from Intel. I was able to compile my program fine. However, I got the following error when I ran it:

Fredericks-MBP:10760 fred$ ./myprogram

dyld: Library not loaded: @rpath/libifport.dylib

  Referenced from: /Users/fred/Documents/myfolder/10760/./myprogram

  Reason: image not found

Trace/BPT trap: 5

 

What am I doing wrong?

0 Kudos
2 Replies
Highlighted
39 Views

What exact version of the compiler are you using? I know an issue with rpath that was fixed in Parallel Studio XE 2016 Update 2. (Update 3 is current.)

0 Kudos
Highlighted
Employee
39 Views

The error you showed can occur when compiling/linking to our dynamic libs but where you do not have DYLD_LIBRARY_PATH set in the underlying shell accordingly for run-time.

In the terminal window where you see the failure, use the command: source /opt/intel/bin/compilervars.sh intel64

And then try running your program again. (The above assumes using bash. Use the .csh version for C-shell)

0 Kudos