Could not create the Minuit2 minimizer

find $(root-config --etcdir) -name “@@” (nothing)

grep -r Minuit2Minimizer $(root-config --etcdir)
/usr/local/etc/root/dictpch/math/minuit2/inc/LinkDef.h:#pragma link C++ class ROOT::Minuit2::Minuit2Minimizer;
/usr/local/etc/root/dictpch/allHeaders.h:#include “Minuit2/Minuit2Minimizer.h”
Binary file /usr/local/etc/root/allDict.cxx.pch matches

find $(root-config --libdir) -name "*@@*" (nothing)

grep -r Minuit2Minimizer $(root-config --libdir)
/usr/local/lib/root/libMinuit2.rootmap:class ROOT::Minuit2::Minuit2Minimizer
/usr/local/lib/root/libMinuit2.rootmap:header Minuit2/Minuit2Minimizer.h
Binary file /usr/local/lib/root/libMinuit2.so.6.38.00 matches

In principle, you need to report this problem to the people who maintain your ROOT binary distribution.

In the meantime, you could try a “brutal fix”.
Download a ROOT binary distribution (use the same ROOT version as yours) provided by the ROOT Team for some Linux version, unpack it somewhere, and then copy all “root/etc/plugins/ROOT@@*” directories into your “plugins” directory.

Many thanks for your patience in diagnosing the problem. The problem indeed seems to be an omission in the FreeBSD port of root, which I will report to the maintainer. Your suggested fix worked.

Thanks again,

sprock