EnderUNIX Team.

EnderUNIX tips

Mail to My Friend , Home Page

[ C/C++ ]

"gdb cannot find shared library files" - Bilge Tutak - (2007-08-02 04:07:53)   [15189]

When you are using gdb (gnu debugger) it can complain about the shared library files, even if you can run your program from the command line. The reason for this is gdb rereads your startup files(.login, .tcshrc etc.).

1-Check your current LD_LIBRARY_PATH

2-Check you startup files to see if there is a change in LD_LIBRARY_PATH

3-Check if you have any temporary additions to the LD_LIBRARY_PATH. During a debug session/library test session you might add temporary library paths, but they will not be in your startup library path.

Mail to My Friend , Home Page