<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - python-lldb-3.8 does not contain lldb python module"
   href="https://llvm.org/bugs/show_bug.cgi?id=26113">26113</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>python-lldb-3.8 does not contain lldb python module
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Packaging
          </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>deb packages
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tomasz.miasko@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm trying to use lldb-3.8 together with python, but lldb has trouble importing
lldb module:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  ImportError: No module named lldb.embedded_interpreter

I am not sure what is main underlying cause, but I noticed a few potential
issues. 

1. Neither lldb-3.8, nor liblldb-3.8, nor python-lldb-3.8 seem to contain
Python module named lldb. Probably the closes one is liblldb-3.8 which contains
binary module named _lldb.so.

2. python-lldb-3.8 doesn't have any dependencies besides Python (maybe there is
yet another package that is required to make this work?)

3. python-lldb-3.8, contains invalid symbolic links, in particular two of
following:

  ./usr/lib/llvm-3.8/lib/python2.7/site-packages/lldb/libLLVM-3.8.0.so.1 ->
../../../x86_64-linux-gnu/libLLVM-3.8.0.so.1
  ./usr/lib/llvm-3.8/lib/python2.7/site-packages/lldb/libLLVM-3.8.so.1 ->
../../../x86_64-linux-gnu/libLLVM-3.8.0.so.1

After canonicalization, they point to following non-existing file:

  /usr/lib/llvm-3.8/lib/x86_64-linux-gnu/libLLVM-3.8.0.so.1

On the other hand, I have libLLVM-3.8.0 in following locations (first one is
symbolic link to the second one):

  /usr/lib/llvm-3.8/lib/libLLVM-3.8.0.so.1
  /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1

I use following apt repository:

  deb <a href="http://llvm.org/apt/vivid/">http://llvm.org/apt/vivid/</a> llvm-toolchain-vivid main

Thanks,
Tomasz</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>