Re: ldd command
- From: gazelle@xxxxxxxxxxxxxxxxxxxxx (Kenny McCormack)
- Date: Sun, 13 May 2007 18:07:00 +0000 (UTC)
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.
.
- Follow-Ups:
- Re: ldd command
- From: Prateek
- Re: ldd command
- References:
- ldd command
- From: Prateek
- ldd command
- Prev by Date: Re: TCSH Question
- Next by Date: Re: Basic shell script
- Previous by thread: ldd command
- Next by thread: Re: ldd command
- Index(es):
Relevant Pages
|