I've written a program which compiles and runs as expected (without problems) on my Ubuntu 12.10 distribution at home. I then transfer my program to my university server, where I was first met with an error (similar to this question)
/usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.9' not found (required by ./main)
As suggested in the thread, I then added -static-libstdc++
to the linker settings, such that I use static linking. Now I get the error
undefined symbol: _ZNSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE
I haven't been able to find any information about this online, but I thought perhaps it is yet another linker problem. If anyone has some input, I would be happy to read it as I am all out of good ideas.