lldb error: process launch failed: unable to locate lldb-server

后端 未结 2 1533
天涯浪人
天涯浪人 2021-02-13 23:46

I\'m running Xubuntu 16.04. After installing lldb from the repositories, I get the following output when I try to use it:

lldb foo
(lldb) target create \"foo\"
C         


        
相关标签:
2条回答
  • 2021-02-14 00:25

    After an hour or so of fiddling around, I found the solution. I copied /usr/bin/lldb-server-3.8 and named it /usr/bin/lldb-server. This is probably a problem with the ubuntu package.

    0 讨论(0)
  • 2021-02-14 00:30

    I recommend setting an alternative rather than copying. On Ubuntu, you can do this with:

    sudo update-alternatives --install /usr/bin/lldb-server lldb-server /usr/bin/lldb-server-3.8 100
    
    0 讨论(0)
提交回复
热议问题