Re: What libraries
- From: Sybren Stuvel <sybrenUSE@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 11:25:32 +0100
Chris enlightened us with:
I have a program that runs on RHLE4 and not on OPEN SUSE 10.1. I can
not see why the program doesn't run on SUSE there are no error
messages.
Have you tried running it in a terminal?
What I would like to know is what command I can type in to see what
libraries the program use, so I can compare the libraries between
the different operating systems.
There are three ways in which a library can be used:
- Statically linked. This would mean the library is part of the
executable, and thus wouldn't pose any problems in your case.
- Dynamically linked, by the compiler. This can be examined with
"ldd /usr/bin/program".
- Dynamically linked, by the program itself. This is done with the
dlopen() function call. If you want to find this, run the
program with "strace /usr/bin/program | grep dlopen".
Good luck on your hunt!
Sybren
--
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/
.
- Follow-Ups:
- Re: What libraries
- From: Sybren Stuvel
- Re: What libraries
- From: Chris
- Re: What libraries
- References:
- What libraries
- From: Chris
- What libraries
- Prev by Date: What libraries
- Next by Date: Re: What libraries
- Previous by thread: What libraries
- Next by thread: Re: What libraries
- Index(es):
Relevant Pages
|