Bug ID 44864
Summary lldb -python-path (with lldb installed using apt-get install lldb-9) returns an incorrect path
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter pierre.vanhoutryve@arm.com
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
Hello,
I installed LLDB using "sudo apt-get install lldb-9" and "lldb-9 -python-path"
returns an incorrect path (does not exist). It returns
"/usr/lib/x86_64-linux-gnu/python3.6/site-packages".
Because of that issue, I was unable to use DExTer
([https://github.com/SNSystems/dexter](https://github.com/SNSystems/dexter)) with that build of LLDB since it relies
on the output of "lldb -P" to find LLDB's Python package.
I tried building LLDB myself to see if the issue occured, but that build
correctly returns "/home/(current user)/lldb/lib/python2.7/dist-packages". (So
after adding my "build/bin" folder to my PATH, I was able to run DExTer)
This happened on my machine running Ubuntu 18.04.3 LTS. I also think that this
happens on pretty much any version of LLDB installed using apt-get.
Kind regards,
Pierre van Houtryve