Suppose I have a first library called libA. I have 2 versions of libA. The first version is staticly linked in a project called libB.
I have another project which is an executable that contains libA (other version) and libB.
libB needs an older version of libA.
My question is: what will happen when I call a function in libA? How does the compiler know which libA version to call?