<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - lldb -python-path (with lldb installed using apt-get install lldb-9) returns an incorrect path"
href="https://bugs.llvm.org/show_bug.cgi?id=44864">44864</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lldb -python-path (with lldb installed using apt-get install lldb-9) returns an incorrect path
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pierre.vanhoutryve@arm.com
</td>
</tr>
<tr>
<th>CC</th>
<td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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
(<a href="https://github.com/SNSystems/dexter">https://github.com/SNSystems/dexter</a>) 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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>