Yum báo lỗi : /usr/local/lib/liblzma.so.5: version `XZ_5.1.2alpha' not found (required by /lib64/librpmio.so.3)
CentOS 7 : There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
```
/usr/local/lib/liblzma.so.5: version `XZ_5.1.2alpha' not found (required by /lib64/librpmio.so.3)
```
Cách xử lý: thêm vào file `.bash_profile` dòng sau:```
export LD_LIBRARY_PATH=/lib64/:$LD_LIBRARY_PATH
```
Sau đó `source .bash_profile` để load lại là ok
Ngoài ra phải trỏ lại đường dẫn lib về nguyên bản phiên bản cũ:
```
cd /lib64
sudo ln -s -f liblzma.so.5.2.2 liblzma.so.5
```