On 17/11/17 18:55, Sylvestre Ledru wrote:

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
       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...
nope, in /usr/lib/llvm-6.0/bin/
Thanks
S


Hi Sylvestre,

there is no lldb-server-6.0 in that directory, but that hint was correct:
$ sudo ln -s /usr/lib/llvm-6.0/bin/lldb-server /usr/lib/llvm-6.0/bin/lldb-server-6.0.0
$ ls -l /usr/lib/llvm-6.0/bin/lldb-server*
-rwxr-xr-x 1 root root 6920288 Sep 11 22:27 /usr/lib/llvm-6.0/bin/lldb-server lrwxrwxrwx 1 root root      33 Nov 18 09:28 /usr/lib/llvm-6.0/bin/lldb-server-6.0.0 -> /usr/lib/llvm-6.0/bin/lldb-server

That seems to fix it!
Thanks,

u

Reply via email to