I'm trying to run the arm linux gcc (linaro 2013 toolchain) and am getting the following error:

arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

It's building 32 bit on a 64 bit operating system. I'm running Ubuntu Precise.


You can try to install apt-get install lib32stdc++6

  • ... But that's presumably built for x86, not ARM, so I'm surprised that would work... @ChristianStewart are you sure this solved your problem? – Kyle Strand Jun 1 '15 at 23:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.