I'm getting the following when running my closed-source app on target machine which uses older OS than mine:
./myapp: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./myapp)
./myapp: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./myapp)
./myapp: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./myapp)
Is there any way to lower required libstdc and libstdc++ versions or bypass this check at all without moving my build server to older OS (which I find very frustrating), as well as without statical linking against libstdc (which seems to be prohibited by license)?
I have already checked Linking against an old version of libc to provide greater application coverage, but this only explains how to do that for some specifical symbol, while I need to do that for every symbol imported by my app from glibc.