Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

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

$
0
0

My student license of Intel Composer XE C++ 16 expired yesterday, so I downloaded the lastest Intel Composer XE C++ 17, only to find out it is compatible with OSX 11.0/12.0. So I upgraded my OSX from Yosemite to Sierra. However, I found my code generate run time error as shown in the title. I have consulted some old posts and realized I need to reset DYLD_LIBRARY_PATH to the current lib path, but it didn't help. Here are some output for your reference:

$ echo $DYLD_LIBRARY_PATH
/opt/intel/compilers_and_libraries_2017.0.102/mac/compiler/lib:

$ otool -L main
main:
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
	@rpath/libiomp5.dylib (compatibility version 5.0.0, current version 5.0.0)

 

 

 

Zone: 

Thread Topic: 

Help Me

Viewing all articles
Browse latest Browse all 1175

Trending Articles