<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LLDB looking for wrong version of lldb-server"
   href="https://bugs.llvm.org/show_bug.cgi?id=44104">44104</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLDB looking for wrong version of lldb-server
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Packaging
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>deb packages
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>peterhull90@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Using the LLVM 9 packages from <a href="https://apt.llvm.org/">https://apt.llvm.org/</a> for Debian 10 Buster.

Attempting to debug an executable fails:

$ lldb --version
lldb version 9.0.1
$ lldb myprog 
(lldb) target create "myprog"
Current executable set to 'myprog' (x86_64).
(lldb) run
error: process launch failed: unable to locate lldb-server-9.0.1

I would expect this to run "myprog" under the debugger.

I have these (2nd & 3rd are symlinks to lldb-server)

$ ls /usr/lib/llvm-9/bin/lldb-server*
/usr/lib/llvm-9/bin/lldb-server    /usr/lib/llvm-9/bin/lldb-server-9.0.0
/usr/lib/llvm-9/bin/lldb-server-9 

The exact version is 

$ apt list lldb-9
Listing... Done
lldb-9/unknown,now 1:9~+20191120043105+0f34f1b9318-1~exp1~20191120153646.83
amd64 [installed]

Work-around (untested) is to create the missing symlink "lldb-server-9.0.1"
manually.

Related to <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - lldb looks for lldb-server under the wrong path"
   href="show_bug.cgi?id=35292">bug #35292</a> but that is quite old and applies to a different version.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>