Wrong Elf Class
» Tagged as: toast
After upgrading from the 32 bit version of Fedora 9 to the 64 bit version I am seeing all kinds of problems. I use the word upgrade because, even though the mother board and the processor have changed, the hard drives haven't and their data has been preserved. Here is an example of one of the problems I ran into. It's obviously because of a conflict between the 32 bit and the 64 bit libraries.
[[email protected] network-scripts]# yum update gdm There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib/python2.5/site-packages/gpgme/_gpgme.so: wrong ELF class: ELFCLASS32 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.5.1 (r251:54863, Apr 8 2008, 01:19:33) [GCC 4.3.0 20080404 (Red Hat 4.3.0-6)] If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaqthat could be fixed by installed 'pygpgme' but i still get:
/usr/lib/python2.5/site-packages/_sqlitecache.so: wrong ELF class: ELFCLASS32fixed by installing sqlite-devel-3.5.6-2.fc9.x86_64.rpm At this stage I bused up my RPM all together by doing something silly, i had to sidetrack and fix rpm before getting back to yum (more about the tomorow). After rpm was restored, there was one more error (/usr/lib/python2.5/site-packages/_sqlitecache.so ) that was fixed with yum-metadata-parser - now finally yum is back to normal. the first thing I did was use
yum update yumto iron out whatever hidden issues there might be. That seems to have solved most things but not all of them. I still get errors about wrong elf classes popping up and need to keep removing old RPMs and installing new ones.