RooFit error: <TVirtualFFT::FFT>: handler not found

I am trying to run RooFit but the whole thing crashes and I get the following error.
I am just trying to run the code from this tutorial:
root.cern.ch/root/html/tutorials … ion.C.html

I am guessing there’s some file missing somewhere but how can I get past it?
I see that there’s “Python” in the directory… but I am not using Python in my code.

Error in TUnixSystem::DynamicPathName: FFTW[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_69/gcc/4.8.1/x86_64-slc6/lib64:/vols/grid/ui/emi2_sl6/emi-ui-2.6.1-1_sl6v4/usr/lib64:/vols/grid/ui/emi2_sl6/emi-ui-2.6.1-1_sl6v4/usr/lib64/dcap:/cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_69/Python/2.7.6/x86_64-slc6-gcc48-opt/lib:.:/usr/lib64/root::/usr/lib64/root/cint/cint/stl
Error in TVirtualFFT::FFT: handler not found
Error in TUnixSystem::DynamicPathName: FFTW[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_69/gcc/4.8.1/x86_64-slc6/lib64:/vols/grid/ui/emi2_sl6/emi-ui-2.6.1-1_sl6v4/usr/lib64:/vols/grid/ui/emi2_sl6/emi-ui-2.6.1-1_sl6v4/usr/lib64/dcap:/cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_69/Python/2.7.6/x86_64-slc6-gcc48-opt/lib:.:/usr/lib64/root::/usr/lib64/root/cint/cint/stl
Error in TVirtualFFT::FFT: handler not found
Error in TUnixSystem::DynamicPathName: FFTW[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_69/gcc/4.8.1/x86_64-slc6/lib64:/vols/grid/ui/emi2_sl6/emi-ui-2.6.1-1_sl6v4/usr/lib64:/vols/grid/ui/emi2_sl6/emi-ui-2.6.1-1_sl6v4/usr/lib64/dcap:/cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_69/Python/2.7.6/x86_64-slc6-gcc48-opt/lib:.:/usr/lib64/root::/usr/lib64/root/cint/cint/stl
Error in TVirtualFFT::FFT: handler not found

Hi,

“Python” is just mentioned there as one of the paths in your LD_LIBRARY_PATH; there’s nothing further to it, and it could as well have been named peanut_butter.

The problem is a missing libFFTW.so, which probably just means that fftw3 was not enabled. You can check that with root-config --has-fftw3. If the answer of that is ‘no’, then that’s the issue. (If it isn’t enabled, then that is most likely b/c libfftw3.so is not installed (or was not during build time).)

HTH,
Wim