Re: ldd command



In article <1179073151.307545.73780@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Prateek <prateek.ja@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.

.



Relevant Pages

  • Re: ISPF Panel - REXX usage
    ... If you are not aware of the MODEL command in ISPF, I suggest you give it a try to at least answer your first question. ... As for the other question, it would help to see the panel details and probably what you have in REXX already, to answer that one. ...
    (bit.listserv.ibm-main)
  • Re: ldd command
    ... Prateek wrote: ... command, i get a list of files and their paths. ... Is this preventing the program from running? ... that is searched by the dynamic linker, or by linking or moving the file ...
    (comp.unix.shell)
  • 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: dos batch script to make txt file with date in name
    ... eg testThu 02/08/2007 2300.txt ... execute same command one by one with all the ip address in the file ... Your first question: ... echo IP address=%%* ...
    (microsoft.public.windowsxp.general)
  • 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)