Bug#881993: lldb-6.0: lldb does not find lldb-server: can't use debugger

Urs Schroffenegger nab+reportbug at lampshade.ch
Fri Nov 17 12:55:01 UTC 2017


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
>>       ineffective)?
>>          1) compile program 'a.out'.
>>          2) Launch debugger
>>                  $ lldb a.out
>>                  (lldb) target create "nnlibtest1.bin"
>>                  Current executable set to 'nnlibtest1.bin' (x86_64).
>>                  (lldb)
>>          3) at debugger prompt, try to run the program to be debugged
>>                  (lldb) run
>>                  error: process launch failed: unable to locate lldb-
>> server-6.0.0
> could you also try create a symlink from lldb-server-6.0 to
> lldb-server-6.0.0
> it should fix the problem
> Thanks
> S

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 -> 
/etc/alternatives/lldb-server
lrwxrwxrwx 1 root root 31 Sep 11 22:27 /usr/bin/lldb-server-6.0 -> 
../lib/llvm-6.0/bin/lldb-server
lrwxrwxrwx 1 root root 24 Nov 17 13:46 /usr/bin/lldb-server-6.0.0 -> 
/usr/bin/lldb-server-6.0

I tried that, it doesn't fix it, same symptom. That's where I got puzzled...

u



More information about the Pkg-llvm-team mailing list