Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7591393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:38:25+00:00 2026-05-30T20:38:25+00:00

On Linux, I’ve built two binaries, A and B, on the same machine. I

  • 0

On Linux, I’ve built two binaries, A and B, on the same machine. I take them to another machine with a slightly older libstdc++ installed. When I run ldd -v on binary A I get this:

libstdc++.so.6 (CXXABI_1.3) => /usr/lib64/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib64/libstdc++.so.6

When I run ldd -v on binary B I get this:

libstdc++.so.6 (CXXABI_1.3) => /usr/lib64/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.15) => not found
libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib64/libstdc++.so.6

Note the dependency for GLIBCXX_3.4.15 is not found. This makes sense because the installed libstdc++ only has support for up to GLIBCXX_3.4.10.

The question is: by what mechanism does ldd determine that binary B depends on GLIBCXX_3.4.15? More importantly, how do I determine what code is causing this dependency?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T20:38:26+00:00Added an answer on May 30, 2026 at 8:38 pm

    If you run nm on your executables, you’ll see a large number of symbols, some of which are undefined (you can tell these as they are blank in the first column and have a U in the second column of nm‘s default output.)

    Some of these symbols will have @@whatever suffixes on them. Those suffixes are the version dependencies of those symbols, and if you look for @@GLIBCXX_3.4.15 in your binary B, that should tell you which specific symbols are causing you to have that version dependency.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Linux C++ programs build with GCC link against libgcc_s.so.1 and libstdc++.so.6 libraries, each of
On linux can we repackage a installed rpm if so how.I remember that the
In Linux(Ubuntu) I am trying to run a tool and it is showing error
On Linux, I'm using supbprocess.Popen to run an app. The command line of that
Linux binaries are usually dynamically linked to the core system library (libc). This keeps
In linux I want to run a gnome zenity progress bar window from PHP.
In linux, is there a built-in C library function for getting the CPU load
Linux provides the stime(2) call to set the system time. However, while this will
Linux bash script: function Print() { echo $1 } Print OK This script runs
Linux bash script: #!/bin/bash function Print() { echo $1 } var=* Print $var Execution

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.