Re: ldd command
- From: Prateek <prateek.ja@xxxxxxxxx>
- Date: 13 May 2007 21:36:15 -0700
On May 13, 11:07 pm, gaze...@xxxxxxxxxxxxxxxxxxxxx (Kenny McCormack)
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?
- Prev by Date: Re: momentarily redirecting stdout
- Next by Date: Script running on TRU64 and Solaris
- Previous by thread: Re: ldd command
- Next by thread: Shell access for Instructors and their Students