On arch linux, recently, the libxml2 has been moved to:
/usr/lib/libxml2.so
/usr/lib/libxml2.so.16
/usr/lib/libxml2.so.16.0.2
And our LLDB build is linking with libxml2.so.2, so it fails
Things are still fine on Ubuntu which we officially support, since they are still in:
dpkg -L libxml2 | grep '\.so'o'
/usr/lib/x86_64-linux-gnu/libxml2.so.2.9.14
/usr/lib/x86_64-linux-gnu/libxml2.so.2
But I guess this is still worth fixing because we do not want to break more unofficially supported distros just because of a libxml2 path issue.
I think the proper fix is to build libxml2 along with lldb to avoid loading the system one altogether. Also, we should build and ship the Editline library as well