Mac OS X, Qt Creator. Library not loaded. Need to set the path to find out *.dylibs
Mac OS X Yosemite, Qt Creator 3.4.1, Intel IPP 2015.
I try to run debugging of my project, but get this error:
dyld: Library not loaded: ./libipps-8.2.dylib Referenced from:
Reason: image not found
I have path to intel dylibs in section 'LIBS' in my .pro file:
LIBS += -L/opt/intel/ipp/lib/ -lipps -lippcore
I have tried to add that path to the variables DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH, But it has not helped.
This may be a problem with changing the library search paths, starting with version Maverics.
Hi and welcome to devnet,
Where did you defined DYLD_LIBRARY_PATH ?
I have written
export DYLD_LIBRARY_PATH = .:$DYLD_LIBRARY_PATH:/opt/intel/ipp/lib/
Link about the problem with Qt Creator and Paths:
That's normal, the PATH you modify in your terminal in not used by Finder.
Take a look at this thread
In any case, you should rather go to the Run part of the Project panel, there you can add these variables for your project so you won't be interfering with others.