FFT library installation

Hiii ROOT Users

I want to use the fourier transform in root so i try to use FFT given in $ROOTSYS/tutorial/fft
but it is giving the following error

root [0] .X FFT.C
Error in TUnixSystem::DynamicPathName: FFTW[.so | .sl | .dl | .a | .dll] does not exist in .:/home/davinder/go4/root/lib::/home/davinder/go4/root/lib:.:/home/davinder/go4/go4installs/go4_3_4.00/lib:/home/davinder/go4/root/lib:/home/davinder/geant4/clhep/lib:/cern/v5.12/root/lib::/home/davinder/geant4/geant4.9.3.p01/lib/Linux-g++:/home/davinder/geant4/clhep/lib:/home/davinder/go4/root/cint/cint/stl
Error in TVirtualFFT::FFT: handler not found
Error: illegal pointer to class object hm 0x0 799 FFT.C:95:
*** Interpreter error recovered ***
root [1]

can any body help me in this matter


did you build ROOT yourself from source? If so make sure the fftw-3.1 package is installed before running ./configure to build ROOT.

Cheers, Fons.