Looking at your ldd.log
, these are the undefined symbols:
undefined symbol: fftw_taint (/lib/x86_64-linux-gnu/libfftw3_mpi.so.3)
undefined symbol: fftw_join_taint (/lib/x86_64-linux-gnu/libfftw3_mpi.so.3)
This should be related to your system / OpenFOAM installation and looks identical to this topic: Error while building openfoam-adapter for OpenFOAM-v1912 - #11 by steffenger