How can I avoid this? I have a pretty simple c++ program compiled on a ubuntu box. When I move it over to red hat and try to execute it I get an error something like:
cannot find shared object stdlibc++5.so
How does commercial software get around this, the stdlib installed on users machines is going to vary a lot. Is there some flag I need to be using when I compile?