Re: ldd command



On May 13, 11:07 pm, gaze...@xxxxxxxxxxxxxxxxxxxxx (Kenny McCormack)
wrote:
In article <1179073151.307545.73...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,

Prateek <prateek...@xxxxxxxxx> wrote:
When I check for the dependencies of a particular file using the 'ldd'
command, i get a list of files and their paths.
There is one particular file which is listed but its path is not there
and the message displayed is 'not found'.

libXtst.so.6 => not found

I know where the file is on my system. But how do i feed that path
into the dependencies list. Please help me out.

First question: Is this preventing the program from running? I assume
that it is (and that the goal of the exercize is to get the program to
run), but you never can be sure (about either of these assumptions).

Assuming the above is correct, you can fix it "the right way" as root,
by either editing whatever file controls the default list of directories
that is searched by the dynamic linker, or by linking or moving the file
into one of the default directories.

Or, as non-root, you can set LD_LIBRARY_PATH to point to the directory
where the file is, before running the program.

Yes, it is preventing the program from running. Actually, i am trying
to run eclipse and it gives an exception at this point.
Going by "the right way", how do i find out which are the default
directories that is searched by the dynamic linker and
how do i find this file which has this list of directories?

TIA

.



Relevant Pages

  • Re: [booklog] Star Trek: Destiny: Book 1: Gods of Night: A Novel: by David Mack
    ... contrivance to leave McCoy in command with some stupid rule ... preventing him from letting Scotty take over. ...
    (rec.arts.sf.written)
  • Re: caching-nameserver SELinux
    ... because SELinux is preventing it: ... will my pc be "safe" after this command? ... Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ ...
    (Fedora)
  • Re: ldd command
    ... command, i get a list of files and their paths. ... First question: Is this preventing the program from running? ... that it is (and that the goal of the exercize is to get the program to ...
    (comp.unix.shell)
  • Re: mv doubt
    ... Erik Hahn wrote: ... how could I use mv command but preventing mv to move ... | Album: This Was ...
    (comp.unix.shell)
  • Re: How to use SDL with NASM under Linux ?
    ... Try this command line: ... The "dynamic linker" is the program which loads the shared libraries when ...
    (comp.lang.asm.x86)