Highwind
04-11-2012, 05:47 PM
Hi,
I build a static binary gui (using wxwidgets etc.).
otool -L shows nothing but if I run it on a fresh mac (same version 10.6.8) it prints:
dyld: Library not loaded: /usr/local/lib/libpng14.14.dylib
Referenced from: /Users/noname/Downloads/mygui.app/Contents/MacOS/mygui
Reason: image not found
Trace/BPT trap
So why is it looking for libpng if otool does not show a dependency?
Thanks
I build a static binary gui (using wxwidgets etc.).
otool -L shows nothing but if I run it on a fresh mac (same version 10.6.8) it prints:
dyld: Library not loaded: /usr/local/lib/libpng14.14.dylib
Referenced from: /Users/noname/Downloads/mygui.app/Contents/MacOS/mygui
Reason: image not found
Trace/BPT trap
So why is it looking for libpng if otool does not show a dependency?
Thanks