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, 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