dyld: Library not loaded … Reason: Image not found
问题 When trying to run an executable I\'ve been sent in Mac OS X, I get the following error dyld: Library not loaded: libboost_atomic.dylib Referenced from: /Users/\"Directory my executable is in\" Reason: image not found Trace/BPT trap:5 I have installed the boost libraries and they are located in /opt/local/lib . I think the problem has something to do with the executable only looking in the directory it is in as when I paste the \'libboost_atomic.dylib\' in there, it doesn\'t mind about it