ldd shows multiple versions of a library are linked

Solution Verified - Updated -

Issue

The output of ldd will show multiple versions of the same library are linked:

$ ldd somebinary
...
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003205400000)
libstdc++.so.5 => /usr/lib64/libstdc++.so.5 (0x00002b92d95c4000)
...

Environment

  • Red Hat Enterprise Linux (RHEL)

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.