dyld: Library not loaded:
I’m trying to include the lib tiff library so I can directly access the the API, so I’ve compiled the library as a framework, and I’ve included the framework in my pro file using:
unix:HEADERS += /Library/Frameworks/LibTiff.framework/Headers/tiffio.h
unix:LIBS += -framework LibTiff
and it compiles fine. But when I run the program, I get the following error:
dyld: Library not loaded: /usr/local/lib/libtiff.3.dylib
At one time, I did install lib tiff in this directory, but deleted it after I later created the framework. Does anyone know how I can get my application to know where to find the library?