Posts tagged cannot open shared object file

Yum error : 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

[[email protected] /usr/lib]# chmod 755

[[email protected] /usr/lib]# ln -s

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.