This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to set the path of shared library in Linux


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]