2016-02-19

cpp: GLIBCXX suckage

So I'm working on a pretty old system, with a new GCC compiler installed. A boost based project I just received started babbling about /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./XYZ).
Wtf?

Turned out, the libstdc++.so.6.0.10 contains symbols up to GLIBCXX_3.4.10, but GCC 4.8.1 only links to newer ones.
How to check: strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX

Solution: I just downgraded to GCC 4.3.4 - so long, suckers!

No comments :

Post a Comment