Skip to content

lldb looks for lldb-server under the wrong path #34640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nelhage opened this issue Nov 13, 2017 · 2 comments
Closed

lldb looks for lldb-server under the wrong path #34640

nelhage opened this issue Nov 13, 2017 · 2 comments
Assignees
Labels

Comments

@nelhage
Copy link

nelhage commented Nov 13, 2017

Bugzilla Link 35292
Version unspecified
OS Linux
CC @alex,@jmorse

Extended Description

I installed lldb-6.0 on an Ubuntu Xenial box from the nightly apt repo. Attempting to use lldb to debug a target fails because it can't find lldb-server-6.0.0:

$ lldb-6.0 /bin/ls
(lldb) target create "/bin/ls"
Current executable set to '/bin/ls' (x86_64).
(lldb) run
error: process launch failed: unable to locate lldb-server-6.0.0

strace reveals it's looking for /usr/lib/llvm-6.0/bin/lldb-server-6.0.0, which doesn't exist.

Creating a symlink allows lldb to run.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
@sylvestre
Copy link
Collaborator

fixed a while back

@llvmbot
Copy link
Member

llvmbot commented May 7, 2025

@llvm/issue-subscribers-lldb

Author: Nelson Elhage (nelhage)

| | | | --- | --- | | Bugzilla Link | [35292](https://llvm.org/bz35292) | | Version | unspecified | | OS | Linux | | CC | @alex,@jmorse |

Extended Description

I installed lldb-6.0 on an Ubuntu Xenial box from the nightly apt repo. Attempting to use lldb to debug a target fails because it can't find lldb-server-6.0.0:

$ lldb-6.0 /bin/ls
(lldb) target create "/bin/ls"
Current executable set to '/bin/ls' (x86_64).
(lldb) run
error: process launch failed: unable to locate lldb-server-6.0.0

strace reveals it's looking for /usr/lib/llvm-6.0/bin/lldb-server-6.0.0, which doesn't exist.

Creating a symlink allows lldb to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants