dependency walker on GNU/Linux
习惯了 Windows 上的 dependency walker,在 Linux 上要看一个 shared library 或者 executable binary 的 dependency 的话。可以用:
objdump -p /usr/bin/foo | grep NEEDED
用 ldd 的话,则会把间接引用的库也列出来。虽然以前只知道用 ldd。
习惯了 Windows 上的 dependency walker,在 Linux 上要看一个 shared library 或者 executable binary 的 dependency 的话。可以用:
objdump -p /usr/bin/foo | grep NEEDED
用 ldd 的话,则会把间接引用的库也列出来。虽然以前只知道用 ldd。
The URI to TrackBack this entry is: http://tchaikov.blogsome.com/2006/08/03/dependency-walker-on-gnulinux/trackback/
No comments yet.
RSS feed for comments on this post.
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Get free blog up and running in minutes with Blogsome
Theme designed by Jay of onefinejay.com