[Bug 25134] New: RHEL 7: cmake-based build fails to find lldb python module during testing and lldb drive loading

Bug ID 25134
Summary RHEL 7: cmake-based build fails to find lldb python module during testing and lldb drive loading
Product lldb
Version unspecified
Hardware PC
OS All
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter todd.fiala@gmail.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

While investigating:
https://llvm.org/bugs/show_bug.cgi?id=24043

I found the lldb test suite fails to find the built lldb python modules, as
everything is located in the lib/ dir except for the python2.7 module.  That is
built into the lib64 directory.

We'll need to figure out if we need to be using the lib64 directory in general
on RHEL (which I suspect is the case).  If so, we may need to get smarter about
the lib directory naming on such a system.

The simpler hack of symbolically linking lib/python2.7 to lib64/python2.7
allows the test suite to run.

Todd Fiala changed bug 25134