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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content