I got an error while checking yum list. Upon checking I found that “libxml2″ 32 and 64bit packages were installed in the server.
error while loading shared libraries: libxml2.so.2: wrong ELF class: ELFCLASS32
Solution :-
Check the rpm packages using the commands.
———-
root@server1 [/usr]# rpm -qa –qf “%{n}-%{v}-%{r}.%{arch}\n” libxml2
libxml2-2.6.26-2.1.21.el5_9.3.x86_64
libxml2-2.6.26-2.1.21.el5_9.3.i386
Then remove the rpm
rpm -e libxml2-2.6.26-2.1.21.el5_9.3.i386