Unable to launch an executable: "/usr/bin/lldb: cannot dynamically load position-independent executable" #1232
-
Hello, recently I've been running into an issue with CodeLLDB and have been unable to use the debugger from VSCode for some reason unbeknownst to me. When I attempt to launch the target, I'm greeted with an error: "Oops! The debug adapter has terminated abnormally."
Which corresponds to this line in the source code. I'm using lldb version 19.1.7 on Arch Linux using Linux kernel: I am unsure if this is because of a build configuration change in either the Arch package specifically or potentially upstream. Regardless here's what
Sure enough the binary is a position-independent executable which correlates with the error I'm getting. Unfortunately, I'm a bit stuck at this point and am not sure where to go from here. Any help much appreciated, cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
lldb.library
is supposed to be a path toliblldb*.so
not the lldb cli binary