https://llvm.org/bugs/show_bug.cgi?id=26113

            Bug ID: 26113
           Summary: python-lldb-3.8 does not contain lldb python module
           Product: Packaging
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: deb packages
          Assignee: unassignedb...@nondot.org
          Reporter: tomasz.mia...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

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 http://llvm.org/apt/vivid/ llvm-toolchain-vivid main

Thanks,
Tomasz

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to