Many moons ago I used to be able to load GDML files into the geometry manager (using a 5.x release), but it isn’t working for me using the latest prod release.
I have compiled ROOT 6.06.02 using ‘configure --enable-gdml’ and the build completes successfully. I’m using RHEL6.
I then try to load a GDML file…
root geom->Import(“myGeom.gdml”, “geom”);
I get a few errors from loading…
Then some complaints about a missing graphics library…
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in TInterpreter::TCling::AutoLoad: failure loading library libASImage.so for TASImage
Then some stack traces, which include these relevant looking bits…
#21 0x00007f8eb068f2eb in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) () from /media/work/sw/root/root-6.06.02/lib/libCling.so
#5 0x00007f8ea69cc509 in TGHScrollBar::SetPosition(int) () from /media/work/sw/root/root-6.06.02/lib/libGui.so
I’m not sure what to make of all this. Should this be working or is my build broken in some basic way? The configure script did not complain about being able to build the graphics library, but then run-time linking is broken somehow.
I’m am loading a rather complex GDML file, but it validates against the schema. Perhaps I can try something simpler, though I suspect the file itself isn’t the problem.
Any tips for me?
This appears to be an issue with libpng on RHEL6 being old and 1.6 not being present.