Library problem when making TMVA in Mac OS X


I’m trying to build TMVA in Mac OS X 10.7.3 according to the how to with an installation of root 5.32/01 that I build from source. It gives the error

Building shared library lib/libTMVA.dylib ... ld: duplicate symbol TMVA::Configurable::Class_Name()      in obj/TMVA_Dict1.o and obj/G__TMVA1.o for architecture x86_64
collect2: ld returned 1 exit status
make: *** [lib/libTMVA.dylib] Error 1

I guess this might be related to this bug report, but adding “$(shell root-config --ldflags)” (which resolves to -m64) to that line in the Makefile has no effect for me. I’ve also tried sourcing the file in tmva/test, but no luck.

Any help appreciated!

[url= resolution.[/url]