[llvm-bugs] [Bug 35292] New: lldb looks for lldb-server under the wrong path

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 13 15:04:24 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35292

            Bug ID: 35292
           Summary: lldb looks for lldb-server under the wrong path
           Product: Packaging
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: binary tarballs
          Assignee: unassignedbugs at nondot.org
          Reporter: nelhage at nelhage.com
                CC: llvm-bugs at lists.llvm.org

I installed `lldb-6.0` on an Ubuntu Xenial box from the nightly apt repo.
Attempting to use lldb to debug a target fails because it can't find
lldb-server-6.0.0:

$ lldb-6.0 /bin/ls
(lldb) target create "/bin/ls"
Current executable set to '/bin/ls' (x86_64).
(lldb) run
error: process launch failed: unable to locate lldb-server-6.0.0

`strace` reveals it's looking for `/usr/lib/llvm-6.0/bin/lldb-server-6.0.0`,
which doesn't exist.

Creating a symlink allows lldb to run.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171113/1e7b3d36/attachment.html>


More information about the llvm-bugs mailing list