Hello, I have developed and build a complex programm on an ubuntu machine. Now I want to run this program on a other distro.
After execcuting it craches immidatly and ldd shows me something like
Code:
[...]libstdc++.so.6: version 'GLIBCXX_3.4.11' not found [...]
After some searching I found out, that this means: the distro of the box I want to run the programm on has a too low libstdc++ version.
So my question is:
How can I write/compile my programm so it doas not depends that hard on the library version? Is there any way I can make my progam more "portable" between different distros/std C librarys? Or is the only way to handle this problem to rebuild it on the destination box?