I tried to remove stock Lua and build my own one, so I tried:
yum remove lua
But too many dependencies on the package and it does not allow me to remove it so I used rpm instead:
rpm -r --nodeps --force lua
It removed Lua. Then I built my own one. However yum crashes from now on, and every time I run yum (does not matter if it is yum install or yum list, or just yum), it gives me
error:There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: liblua-5.1.so: cannot open shared object file: No such file or directory Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is: 2.7.3 (default, Aug 9 2012, 17:23:57) [GCC 4.7.1 20120720 (Red Hat 4.7.1-5)] If you cannot solve this problem yourself, please go to the yum faq at: http://yum.baseurl.org/wiki/Faq
I cannot even install lua back because it does not allow me to run.
rpm is crashed too:
rpm: error while loading shared libraries: liblua-5.1.so: cannot open shared object file: No such file or directory
I have a version of liblua-5.1.so, but I tried to put the symbolic link in /usr/lib, and /usr/local/lib, it still gives this error. Please help... I do not want to reinstall.