After installing a new build machine, I found out it came with 6.0.10 of the standard C++ library
-rw-r--r-- 1 root root 1019216 2009-01-02 12:15 libstdc++.so.6.0.10
Many of our target machines, however, still use an older version of libstdc++, for example:
-rwxr-xr-x 1 root root 985888 Aug 19 21:14 libstdc++.so.6.0.8
Apparently the ABI changed in those last two 0.0.1's, as trying to run a program results in
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
I tried explicitly installing an older version of gcc but that didn't help. Upgrading the target machines is out of my control, so not an option. What's the best way to get my builds to work on machines with an older libstdc++?
I searched in apt-cache for older libstdc++ versions to install, but apparently no older versions of 6 are available?