forgot -lstdc++ for libstdc++...