Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

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

Frederick_A_
Beginner
525 Views

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
Steven_L_Intel1
Employee
525 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
Kevin_D_Intel
Employee
525 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
Reply