Problem running FFT.C

Dear root,

I just installed root 5.24 on a MacBook OS 10.5 with fft3w support (I’d previously installed fftw-3.2.2 with no obvious installation problems).

When I try to run the FFT.C tutorial I get the foolowing problem:

ROOT 5.24/00 (trunk@29257, Jun 30 2009, 09:23:51 on macosx64)

CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x $ROOTSYS/tutorials/fft/FFT.C
dyld: lazy symbol binding failed: Symbol not found: _fftw_malloc
Referenced from: /Users/ngbusca/Boulot/root.5.24.00/lib/libFFTW.so
Expected in: dynamic lookup

dyld: Symbol not found: _fftw_malloc
Referenced from: /Users/ngbusca/Boulot/root.5.24.00/lib/libFFTW.so
Expected in: dynamic lookup

And root exits.back to the system. What can be going wrong ?

Thanks,

Nicolas

PS: Whenever I try to send my messages to roottalk by email they don’t seem to get posted (or at least I never get a response, while through the web interface I get a response pretty fast.)

Nicolas,

Did you install from source?
I do not see any problem in using libFFTW.so from the ROOT distribution kit for macosx10.5

Rene

Rene,

thanks for the prompt answer.

yes, I installed from source…

Nicolas

How did you install fftw?
You should do:

./configure CFLAGS=-m64 --with-pic
then erase $ROOTSYS/lib/libFFTW.so
configure ROOT again and make

Rene

Great! it works…

Thanks!

Nicolas