Yum error : libbeecrypt.so.6: cannot open shared object file: No such file or directory

If you come across the above error while installing yum on centos 5.x then just follow the below steps :

[[email protected]]# cd /usr/lib

[[email protected] /usr/lib]# wget linuxspy.info/libbeecrypt.so.6.4.0

[[email protected] /usr/lib]# chmod 755 libbeecrypt.so.6.4.0

[[email protected] /usr/lib]# ln -s libbeecrypt.so.6.4.0 libbeecrypt.so.6

To test, if yum is working just try the command :

[[email protected]]# yum list httpd
 Loading "installonlyn" plugin
 Setting up repositories
 Reading repository metadata in from local files
 Installed Packages
 httpd.i386 2.2.3-43.el5.centos.3 installed
 Available Packages
 httpd.i386 2.2.3-45.el5.centos.1 updates

That’s all you are done.