While running yum update, it throws 'libldap-2.4.so.2: cannot open shared object file:' error message

Solution Verified - Updated -


  • yum update command giving below error.

    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:
    libldap-2.4.so.2: cannot open shared object file: No such file or directory


  • Red Hat Enterprise Linux 6

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