Linux: How to set search path for shared library
Posted on 2006-10-27
I want to debug a program using GDB. my small program uses a shared library which resides in my current directory.
When I run the program normally, I use the following method to load the library.
But, if I want to run gdb how should I tell the debugger to search the current directory for the shared library along with the standard paths( My program uses some other installed libraries in the standard path as well )