title: QtCreator GDB not finding correct shared library
body: <p>I have a docker image which I am using to build a project. That project generates several executables and .so libraries.</p>
  <p>I am able to GDB debug on the command line with the proper LD_LIBRARY_PATH set, and it finds the libraries correctly and I am able to step debug into those .so files.</p>
  <p>I am trying to use QtCreator &quot;Start and debug external application&quot; to gdb debug this application.</p>
  <p>In QtCreator, I am using the set solib-search-path command in the &quot;Additional Startup Commands&quot; of the Debugger-&gt;GDB tab , and in the QtCreator debug log I see it being set:</p>
  <pre><code>set solib-search-path /home/me/mypath/dist.x86/Linux5.4_x86_64_cc_glibc_PTH_64_DBG.OBJ/lib:/lib/x86_64-linux-gnu:/lib64
  </code></pre>
  <p>However, when the program runs, the executable is not finding the correct version of the shared library.</p>
  <p>Is there something else I need to do to make this work? Do I need to launch QtCreator from an environment where LD_LIBRARY_PATH has already been set? I have verified with ldd the executables and shared libraries have the path I am using for solib-search-path once I have set LD_LIBRARY_PATH when I am using command line GDB to debug.</p>