Trying to use otool -L in place of ldd, but it says it can't be found... As root, even running a locate otools in terminal shows nothing... Is it not on Snow Leopard? Does anyone know where it is?
-
3You need to install the developer tools to get access to otool. Once you've installed the developer tools (must check UNIX/system tools) it will be at /usr/bin/otool as well as /Developer/usr/bin/otool (or whatever place you installed the tools)– Jason CocoJan 20, 2011 at 5:24
-
Also, these kinds of questions really belong on superuser.stackoverflow.com since they're more related to 'how do I set up my system' than 'how do I program such&such' or 'how do I achieve such and such result' etc.– Jason CocoJan 20, 2011 at 5:26
-
1@Jason: Seems to me that otool is pretty clearly a "software tool commonly used by programmers", which makes it on-topic here.– Cody Gray - on strikeJan 20, 2011 at 5:28
-
@Cody Gray: I'd say it's one of those gray areas... yes, it's definitely a dev tool, but he's not asking about how to use it or even how to make it work right, he's asking where to find it and how to install it, which is more setup/superuser IMHO, but that's just my opinion anyway.– Jason CocoJan 20, 2011 at 5:34
Add a comment
|
2 Answers
You need to install the Apple Developer Tools to make otool
available. You can register to download them here for free (no need to become a "Mac Developer Program" member).
After you've installed the Developer Tools, otool
is in /usr/bin
(which is usually in your $PATH
).
No need to upvote this post: I just repeated information already in the comments.
-
1Any way to get otool without downloading over a gig of other stuff that I don't need? Jul 25, 2013 at 5:45