[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb-5.1 problem
From: |
Orjan Friberg |
Subject: |
Re: gdb-5.1 problem |
Date: |
Wed, 02 Jan 2002 11:17:12 +0100 |
Vladimir Gekht wrote:
>
> Hi,
>
> I'm porting some application that I developed (and successfully debugged with
> gdb)
> under Linux Red Hat 6.2
>
> to Red Hat 7.2 . My executable file depends on number of libXXXX.so shared
> libraries.
>
> The problem is as follows:
>
> My program is running, but when trying to debug I get the message from gdb as
> follows:
>
> " error while loading shared libraries: <libXXX.so>: cannot open shared object
> file: no such file or directory" ,
>
> in spite of the fact that both PATH and LD_LIBRARY_PATH are OK, even after
> running
> "set solib-search-path"
If the shared library was opened with an absolute path, you need to 'set
solib-absolute-prefix' to something like /usr/lib. (solib-search-path is for
shared
libraries opened with a relative path.)
--
Orjan Friberg
Axis Communications AB
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: gdb-5.1 problem,
Orjan Friberg <=