Undefined reference to `__dynamic_cast_2'

I get that message when linking

/usr/local/root/pro/root/lib/libCore.so: undefined reference to `__dynamic_cast_2’

what am I missing? is it in some other library? where is it defined?

root 3.03/07
gcc version 2.95.2

Javier

With gcc2.95.2, I see references only to “__dynamic_cast”.
Did you install from source yourself?
Are you mixing code compiled with different compilers?
Check your LD_LIBRARY_PATH

Rene

Hi I’m doing this in a cluster, so I don’t compile it myself, but I can ask. Anyway things seem to be compiled with the right one and my LD_LIBRARY_PATHseems ok. I must be missing something.

gcc -v
Reading specs from /usr/local/gcc/2.95.2/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)
root-config --version
3.05/07

LD_LIBRARY_PATH=/usr/local/gcc/2.95.2/lib:/usr/local/root/root_v3.05.07.gcc2.95.2/root/lib:
/usr/local/lhcxx/CLHEP/new/lib:
/usr/local/lhcxx/specific/redhat72/gcc-2.95.2/Qt/3.0.1/lib:
/usr/local/lib

Somewhere you are mixing code compiled with gcc296 and gcc295. You cannot do this.
Check your own code, making sure that you
have compiled with gcc295.
Check the libraries in your LD_LIBRARY_PATH in the same way

Rene