[Bug 44056] New: python _lldb.so is a broken symlink on regular Linux distro packages

Bug ID 44056
Summary python _lldb.so is a broken symlink on regular Linux distro packages
Product lldb
Version 9.0
Hardware PC
OS Linux
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter thiago@kde.org
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

Ref: [https://github.com/clearlinux/distribution/issues/1502](https://github.com/clearlinux/distribution/issues/1502)

The $PYTHONSITEDIR/lldb/_lldb.so file is a symlink to $LIBDIR/liblldb.so, but
the .so file is usually not included in regular packages, only development
ones. That makes the symlink broken.

Fedora workaround:
[https://src.fedoraproject.org/rpms/lldb/blob/master/f/lldb.spec#_94](https://src.fedoraproject.org/rpms/lldb/blob/master/f/lldb.spec#_94)
OpenSUSE workaround:
[https://build.opensuse.org/package/view_file/openSUSE:Factory/llvm9/llvm9.spec?expand=1](https://build.opensuse.org/package/view_file/openSUSE:Factory/llvm9/llvm9.spec?expand=1)
line 896
Clear Linux workaround:
[https://github.com/clearlinux-pkgs/lldb/blob/9.0.0-3/install_append](https://github.com/clearlinux-pkgs/lldb/blob/9.0.0-3/install_append)

labath@google.com changed bug 44056

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    Resolution | — | FIXED |

Comment # 5 on bug 44056 from labath@google.com

I'm going to close this based on comment #4. If you do encounter this in the
future (with a new lldb), feel free to file a new bug.