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)