- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page