[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gdb] Re: (fwd) [help] gdb unable to load shared libs
From: |
Mikko Tyolajarvi |
Subject: |
[Gdb] Re: (fwd) [help] gdb unable to load shared libs |
Date: |
Fri, 8 Dec 2000 11:14:46 -0800 (PST) |
In gnu.gdb.bug you write:
[...]
>I have set LD_LIBRARY_PATH properly.
>I am able to run the program outside of gdb properly.
[...]
> address@hidden: ~/pkgs/build/OB-4.0.3/ob/demo/chat
> $ ldd client
> libOB.so.4.0.3 =>
> /users/sankar/pkgs/orbacus/lib/libOB.so.4.0.3
[...]
> (gdb) run
> Starting program: /users/sankar/pkgs/build/OB-4.0.3/ob/demo/chat/client
> ld.so.1: /users/sankar/pkgs/build/OB-4.0.3/ob/demo/chat/client: fatal:
>+libOB.so.4.0.3: open failed: No such file or directory
The "standard" cause of this error is that your shell initialization
files (.profile, whatever) reset LD_LIBRARY_PATH -- gdb uses your
login shell (or maybe $SHELL?) to spawn the subprocess.
$.02,
/Mikko
--
Mikko address@hidden
RSA Security
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gdb] Re: (fwd) [help] gdb unable to load shared libs,
Mikko Tyolajarvi <=