Undefined symbol:fftwf_execute

Dear all,

I am trying to implement cross correlation block using fftw library. I
follow the correlation example in the gr-lte. when I try to run the
block I
get the following error: importError:
/usr/local/lib/libgnuradio-my_xcorr.so: undefined symbol: fftwf_execute
I have fftw installed.
Any help?

Regards,
Saran

Hello Sarankumar,

this very likely points to a linker problem. You have to make sure you
link against the right fftw libraries in your CMakeLists.txt’s.

Best regards,
Marcus