How to find the architecture for a mach-o file?
How to find the architecture for a mach-o file?
- Subject: How to find the architecture for a mach-o file?
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Wed, 25 Mar 2009 08:43:02 -0400
- 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden