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 :

[root@test]# cd /usr/lib

[root@test /usr/lib]# wget

[root@test /usr/lib]# chmod 755

[root@test /usr/lib]# ln -s

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

[root@test]# 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.