segmentation fault error while running rpm commands

Solution Verified - Updated -

Issue

  • rpm command fails with Segmentation fault
# rpm -qa
Segmentation fault

# sosreport
/usr/bin/python: error while loading shared libraries: /usr/lib64/libpython2.4.so.1.0: invalid ELF header

Environment

  • Red Hat Enterprise Linux 5.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.