Re: How to find out what libraries a binary calls?
- From: Paul Colquhoun <postmaster@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 02:09:04 GMT
On 30 Aug 2006 16:17:25 -0700, composlinuxmisc <altcomphardware@xxxxxxxxxxx> wrote:
| Hi guys. The same binary on two different machines produces two
| different results. One machine is an x86_64 and another is an i586.
|
| My previous tests with the same CPUs and binaries produced identical
| results. The only difference is that now my x86_64 had an upgrade from
| SuSE 9.2 to SuSE 10.0, and in the process I installed a few different
| libraries. Some were done through YaST, some were just copied over from
| a 32-bit machine to /usr/lib (when I couldn't find the appropriate
| library on the SuSE CD)
|
| For now, I'm guessing it is a library problem but I can't remember what
| library I copied over in such an ad hoc manner.
|
| Is there a way for me to tell what library a binary calls?
For most binaries, doing 'ldd /path/to/binary' will show you a list of
libraries that the loader will link the binary against before it runs.
There is a way for a binary to try and load a library while it is
running. You may be able to find these by running 'strings' against the
binary and looking for the library file names in the output.
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
.
- References:
- How to find out what libraries a binary calls?
- From: composlinuxmisc
- How to find out what libraries a binary calls?
- Prev by Date: Re: How to find out what libraries a binary calls?
- Next by Date: How to make Knoppix USB writable?
- Previous by thread: Re: How to find out what libraries a binary calls?
- Next by thread: Re: [OT] Re: Linux Dealt a DEATH BLOW by Apple !!!!!!! - - Information about "Alan Connor"
- Index(es):
Relevant Pages
|