I’ve been experimenting with a dylib in the last weeks. Wanted to make a test app for a customer. When testing the app on my second machine I get
Dyld Error Message:
Library not loaded: @executable_path/…/…/Frameworks/libchilkatCocoaDyn.dylib
Referenced from: /Users/USER/Desktop/imap.app/Contents/MacOS/imap
Reason: image not found
Binary Images:
0x8fe15000 - 0x8fe48dd3 dyld (353.2.3) <2DB428B9-7749-3455-B87D-323F61131929> /usr/lib/dyld
0x90aec000 - 0x90aecfff com.apple.Carbon (154 - 157) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x91849000 - 0x9184afff libSystem.B.dylib (1213) /usr/lib/libSystem.B.dylib
0x95b66000 - 0x95f1aff7 com.apple.CoreFoundation (6.9 - 1153.18) <267B1002-C755-37B4-95CD-92358CF994B8> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x999e1000 - 0x999e1fff com.apple.Cocoa (6.8 - 21) <6AF80DDB-C28E-36FF-BC11-D7D561AC52A9> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x9baec000 - 0x9bcdb2ef libobjc.A.dylib (647) <7648C174-3098-3B26-AD20-490DBFFD5D4C> /usr/lib/libobjc.A.dylib
I’m referencing the dylib with
@executable_path/…/…/Frameworks/libchilkatCocoaDyn.dylib
The dylib is in the Frameworks folder. Is there anything that I need to do with install_name_tool? What is libchilkatCocoa.a?
Xojo 2015r2, Mac OS 10.10.4.