Re: How to find the architecture for a mach-o file?
Re: How to find the architecture for a mach-o file?
- Subject: Re: How to find the architecture for a mach-o file?
- From: Axel Luttgens <email@hidden>
- Date: Wed, 25 Mar 2009 16:00:14 +0100
Le 25 mars 09 à 13:43, Karan, Cem (Civ, ARL/CISD) a écrit :
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?
You already got some suggestions; anyway, here's another one:
otool -hV -arch all /usr/lib/libexpat.1.dylib
HTH,
Axel
_______________________________________________
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