I am using ROOT 6.18/00, and although I have placed the path to the “.pcm” file in LD_LIBRARY_PATH and have checked that the “.so” and “.rootmap” files are in the same directory, I am getting the following runtime error:
Error in <TCling::RegisterModule>: cannot find dictionary module xxx_rdict.pcm
Sure, the names are libVAMaximumLikelihood.so and libVAMaximumLikelihood_rdict.pcm. I should also point out that I was not having this problem using an older version of ROOT (6.10/08), and I’m using CMake 3.16.2.