Conflict in __dynamic_cast symbol
Misra, Aveek
amisra@netegrity.com
Thu Sep 11 19:17:00 GMT 2003
I have a really messy problem on my hand. I have C++ application which is
compiled with gcc 3.2.1 on Linux Advanced Server 2.1. One of the libraries
is linked with the JVM library libjvm.sl. We are making use of the
dynamic_cast operator inside our code. This shows up as the symbol
__dynamic_cast in libstdc++.so. However a symbol of the same name is also
present in libjvm.sl. This causes a huge mess during runtime when the
__dynamic_cast of libjvm.sl gets invoked instead of the one in C++ runtime
lib and we get a core dump. How do we solve this issue? We cannot change the
version of the JVM
Thanks
Aveek
More information about the Gcc
mailing list