Compiling code - linking to libraries using different versions of c++ runtime?
Hi. I've gotten myself into a weird situation here and I must admit it has me pretty confused.
Basically, I'm trying to compile program A, which depends on LibA and LibB.
LibA would not build with my version of G++ 4.4.3 due to a bug, so I've compiled the latest G++ 4.5 (installed in /opt directory) and built that library successfully (also installed in /opt).
I have LibB on my system already, but it was built with the 4.4.3 version. When compiling my final program, am I going to have issues because the .so files were built with different versions of gcc/g++? Or should I just rebuild a special version of LibB with the later version of the compiler just for that program? I can proceed and just see what happens, but I'm a little confused about how things work in a situation like this.