Reputation: 1214
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"
Current executable set to 'foo' (x86_64).
(lldb) r
error: process launch failed: unable to locate lldb-server
Any ideas what I'm missing?
Upvotes: 13
Views: 7366
Reputation: 2070
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
Upvotes: 12
Reputation: 1214
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.
Upvotes: 14