Bug#881993: lldb-6.0: lldb does not find lldb-server: can't use debugger
sylvestre at debian.org
Fri Nov 17 17:55:45 UTC 2017
On 17/11/2017 13:55, Urs Schroffenegger wrote:
> On 17/11/17 13:31, Sylvestre Ledru wrote:
>> On 17/11/2017 13:26, Urs Schroffenegger wrote:
>>> Package: lldb-6.0
>>> Version: 1:6.0~svn315736-1
>>> Severity: important
>>> Dear Maintainer,
>>> * What led up to the situation?
>>> Trying to debug a clang-6 compiled program using lldb.
>>> * What exactly did you do (or not do) that was effective (or
>>> 1) compile program 'a.out'.
>>> 2) Launch debugger
>>> $ lldb a.out
>>> (lldb) target create "nnlibtest1.bin"
>>> Current executable set to 'nnlibtest1.bin' (x86_64).
>>> 3) at debugger prompt, try to run the program to be debugged
>>> (lldb) run
>>> error: process launch failed: unable to locate lldb-
>> could you also try create a symlink from lldb-server-6.0 to
>> it should fix the problem
> This way in /usr/bin?
> $ sudo ln -s /usr/bin/lldb-server-6.0 /usr/bin/lldb-server-6.0.0
> $ ls /usr/bin/lldb-server* -l
> lrwxrwxrwx 1 root root 29 Nov 17 10:47 /usr/bin/lldb-server ->
> lrwxrwxrwx 1 root root 31 Sep 11 22:27 /usr/bin/lldb-server-6.0 ->
> lrwxrwxrwx 1 root root 24 Nov 17 13:46 /usr/bin/lldb-server-6.0.0 ->
> I tried that, it doesn't fix it, same symptom. That's where I got
nope, in /usr/lib/llvm-6.0/bin/
More information about the Pkg-llvm-team