Hi,
I am so frustrated by this error and I don't know how to solve it. Hope someone helps!
I have a dynamic lib (Call it D) which is loaded at runtime with the dlopen() function inside a static lib (Call it S). There is a header file that contains all the interfaces required to access things passed to outside from D.
I have two interfaces (Call them I1 and I2) that are defined in the header. I acquire an I1* from D (This is done inside S) and the do a dynamic cast to I2*.
Now I use S inside my main program and S in turn is responsible for loading D and doing the above mentioned dynamic cast. It all compiles ok but gives me a linker error:
Undefined symbol:
typeinfo for I2
How do I solve this?