PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

How to find out what libraries a binary calls 2389


Your Ad Here

Your Ad Here

Hi guys. The same binary on two different machines produces two different results. One machine is an x8664 and another is an i586. My previous tests with the same CPUs and binaries produced identical results. The only difference is that now my x8664 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 tousr-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 'lddpath-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.

How to find out what libraries a binary calls 2390
ynotssor Thanks ynotssor. The following is the "grep'ed lib" output of: strace -o output.txt ls-dyna -------------------------- stat("-opt-intel-fce-9.1.036-lib-tls...

-- Asking for technical help in newsgroups? Read this first:



Your Ad Here

List | Previous | Next

How to find out what libraries a binary calls 2390

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Where can I buy a 3 button mouse