[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
Top Document: comp.unix.aix Frequently Asked Questions (Part 4 of 5)
Previous Document: 2.19: Building imake, makedepend
Next Document: 2.21: Can I get a PTF for my C/C++ compiler from the net?
-
Search the FAQ Archives
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
Top Document: comp.unix.aix Frequently Asked Questions (Part 4 of 5)
Previous Document: 2.19: Building imake, makedepend
Next Document: 2.21: Can I get a PTF for my C/C++ compiler from the net?
2.20: How can tell what shared libraries a binary is linked with?
Use "dump -H <execfilename>" and see if anything other than /unix is listed in the loader section (at the bottom). The first example is /bin/sh (statically linked) and the second example is /usr/local/bin/bash (shared). INDEX PATH BASE MEMBER 0 /usr/lib:/lib 1 / unix INDEX PATH BASE MEMBER 0 ./lib/readline/:./lib/glob/:/usr/lib:/lib 1 libc.a shr.o 2 libcurses.a shr.o The freeware tool "ldd" lists all the shared libraries needed by an executable, including those recursively included by other shared libraries. See question 2.27 "Where can I find ldd for AIX?".
Top Document: comp.unix.aix Frequently Asked Questions (Part 4 of 5)
Previous Document: 2.19: Building imake, makedepend
Next Document: 2.21: Can I get a PTF for my C/C++ compiler from the net?
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
bofh@mail.teleweb.pt (Jose Pina Coelho)
Last Update October 22 2009 @ 05:22 AM