Re: What libraries



Sybren Stuvel wrote:

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

Hi Sybren

Thank you for the quick reply. I did run the program in a terminal, no
errors.


.



Relevant Pages

  • Re: [SLE] Can a native 64-bit CPU run 32-bit code ?
    ... In the following I'm copying my supervisor's suggestion based on a ... previous experience they had at trying to install MARS (A Mongte Carlo ... But it appears you mistakenly attribute your MARS problem with SuSE ... 32 bit libraries, they need those libraries available in a 64 bit ...
    (SuSE)
  • Re: Minimal 10.0 installation
    ... SLES 10 is supposed to be very close to the current Suse 10.0, ... The only problem is that it's configured to install the kitchen sink, ... well as their associated libraries. ... then scroll through ALL of the selections and UNCHECK ...
    (alt.os.linux.suse)
  • [SLE] Still no joy with latest samba rpms for 9.3..
    ... > Still can't get the latest samba binaries to inatall on SuSE 9.3. ... I don't and those libraries. ... Nacogdoches, Texas 75961 ...
    (SuSE)
  • Re: CD7DVD burner k3b damaged
    ... > emerged the typical short bar for program windows. ... because I have no idea what k3b is, and I never used SuSE. ... programs usually use the ld.so to load dynamic libraries. ...
    (comp.os.linux.setup)
  • [SLE] ld linker
    ... My frustration begun with the installation of pgAdmin3. ... I do not have official SuSE PostgreSQL package installed. ... Ld linker says there is no pq library. ... Then I have COPIED the libraries from ...
    (SuSE)