How to set the path of shared library in Linux
Robert Bu
robert.bu@gmail.com
Wed Feb 27 02:29:00 GMT 2008
Hello,
How can I set the search path of the shared libraries in Linux for GDB?
I tried "set solib-search-path path_to_my_shared_lib", but GDB still
tries the $LD_LIBRARY_PATH first. I have two versions of the same shared
library, one is in $LD_LIBRARY_PATH, the other is in
path_to_my_shared_libray ( not in $LD_LIBRARY_PATH). GDB just always
uses the one in $LD_LIBRARY_PATH.
More information about the Gdb
mailing list