Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an error by installing and executing the apt-get (there is no package manager except udpkg):

apt-get: /usr/lib/ version GLIBCXX_3.4.15 not found (required by apt-get)

I have the library /usr/lib/ there.

share|improve this question
Oh boy, this is a bad (and fairly common) error. It sounds like you probably upgraded your system between incompatible versions of libstdc++, and in so doing, you installed an apt-get that is no longer binary-compatible with your C++ standard library. What mechanism did you use to upgrade? – allquixotic Nov 15 '12 at 13:46
up vote 0 down vote accepted

You have libstdc++6, but there are sub-versions within that and you've ended up with a 'wrong' version somehow. It's possible you have multiple sub-versions present and is linking to the wrong one. If you only have the one (wrong) version, you could try downloading an rpm of the version apt-get is expecting from a website.

For any other program failing in this way I'd suggest upgrading either library or program via the package manager, or recompiling the program against the version of the library you have, but given that it's apt, I don't think you could do either easily..!

This post might help?

share|improve this answer
I cannot build a new one (I have no gcc, it is only an ash with busybox tools), and all that are from do not work. – static Nov 15 '12 at 14:59
I have the version from your post (4.4.5-8) – static Nov 15 '12 at 15:07
Hm, I don't know that much about what's provided by busybox and what isn't. Has apt-get ever worked on this box? What's the output of strings /usr/lib/ | grep GLIBCXX? – jam Nov 15 '12 at 15:31
I managed it, starting from the beginning :) – static Nov 15 '12 at 16:09
Glad you fixed it! Any idea what had caused the problem? – jam Nov 15 '12 at 16:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .