home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!csfb1!sstakoff
- From: sstakoff@csfb1.fir.fbc.com (Stuart Stakoff)
- Subject: Re: shared library listing ?
- Message-ID: <Brx831.BDs@csfb1.fir.fbc.com>
- Sender: news@csfb1.fir.fbc.com (Usenet News Account)
- Reply-To: uunet!csfb1!sstakoff
- Organization: First Boston Corporation
- References: <1992Jul23.191045.4043@aquila.sni-usa.com>
- Date: Sat, 25 Jul 1992 01:28:12 GMT
- Lines: 32
-
- In article <1992Jul23.191045.4043@aquila.sni-usa.com>, corrado@abyss.sni-usa.com (Corrado Giacomini) writes:
- |>
- |> Does anybody know how can I obtain
- |> the list of the shared library linked by
- |> an executable ?
- |>
- |> -----------------------------------------------------
- |> Corrado Giaconini corrado@sni-usa
- |> giacomin@xdnc1.ico.olivetti.com
- |> -----------------------------------------------------
-
-
- It depends on what system you are running. For example, under SunOS 4.1.x
- you would type: ldd a.out
-
- On an SGI (IRIX) you would type: nm -L a.out
-
- Compilers place information in the executable that tell the loader
- which shared libraries to bring in. In IRIX (and I believe SunOS), this
- information is place in the .lib section of the executable.
-
- Good Luck...
-
- --
-
-
- +-------------------------------------------------------------------+
- | Stuart A. Stakoff | sstakoff@csfb1.fir.fbc.com |
- | First Boston Corporation | uunet!csfb1!sstakoff |
- | (212)909-4926 | (212)688-0913 - FAX |
- +-------------------------------------------------------------------+
-
-