Unable to Locate lldb-server on Ubuntu

On my Pop!_OS machine (which is based on Ubuntu 17.10), using any
version of LLDB above 3.8 gives me the error "process launch failed:
unable to locate lldb-server-x.x.x" but when version 3.8 is installed,
it works just fine.

There are various posts across the web about the same problem on
multipler versions of Ubuntu. The most common solution presented is to
use update-alternatives, but that did not solve the problem for me. I
also checked my bin directories and the binaries for lldb-server are
there for any version I install.

I think that's a question for your distro's (or ubuntu's) lldb package
maintainer. I think they probably have some custom patches there (if
they don't then they probably need them). If I'm not mistaken vanilla
lldb does not even support multiple lldb instalations side-by-side
(i.e., it will always search for "lldb-server", with no suffix).

As a workaround, you may be able to get this working by setting the
LLDB_DEBUGSERVER_PATH environment variable to point to the right
executable.

I ran into the same problem with lldb 3.8 on Ubuntu 14.04. I created symlinks to get things working right. Now I can run "lldb" and it finds lldb-server.

In /usr/bin:
0 lrwxrwxrwx 1 root root 26 Nov 17 15:22 /usr/bin/lldb -> /usr/lib/llvm-3.8/bin/lldb*
0 lrwxrwxrwx 1 root root 24 Jul 18 11:06 /usr/bin/lldb-3.8 -> ../lib/llvm-3.8/bin/lldb*
0 lrwxrwxrwx 1 root root 30 Jul 18 11:06 /usr/bin/lldb-3.8.0-3.8 -> ../lib/llvm-3.8/bin/lldb-3.8.0*
0 lrwxrwxrwx 1 root root 24 Aug 23 17:50 /usr/bin/lldb-server -> /usr/bin/lldb-server-3.8*
0 lrwxrwxrwx 1 root root 31 Jul 18 11:06 /usr/bin/lldb-server-3.8 -> ../lib/llvm-3.8/bin/lldb-server*