How to find the architecture for a mach-o file?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcmtRzwq2yrNOv0NT9q6rIjTE+O59A== Thread-topic: How to find the architecture for a mach-o file? Hi all, I'm currently trying to install expat on my machine to support graphviz (http://www.graphviz.org), but I keep running into an error where dot (part of graphviz) complains that it can't link with libexpat.dylib because of the following: dyld: Library not loaded: /usr/lib/libexpat.1.dylib Referenced from: /usr/local/bin/dot Reason: no suitable image found. Did find: /usr/lib/libexpat.1.dylib: mach-o, but wrong architecture <more lines like the above follow> Using otool -aSfh, I get the following: Mach header magic cputype cpusubtype caps filetype ncmds sizeofcmds flags 0xfeedface 7 3 0x00 6 11 1208 0x00100085 The problem is that I have no idea what the cputype and subtype numbers mean. Anybody with any ideas? In fact, any ideas on how to fix this problem? Thanks, Cem Karan _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Karan, Cem (Civ, ARL/CISD)