TalentedHack
TalentedHack copied to clipboard
FFTW3 linking problem
Same error as in this issue from the nfft library. I'm getting this error after running make in the repo: /usr/bin/ld: /usr/local/lib/libfftw3f.a(assert.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
The issue linked above said to recompile fftw3 with --enable-shared, so I did, but that did not change anything.
I compiled fftw3 with
./configure --enable-shared --enable-float
make
make install
then went back to talentedhack and tried make
again. The output of make install
said that the library was installed at /usr/local/lib, and I made sure to pass in /usr/local/lib/pkgconfig as the PKG_CONFIG_PATH environment variable to make for TalentedHack.
Any idea how I can resolve this?
Have you tried using prebuilt FFTW libraries from your package manager? have you tried https://stackoverflow.com/questions/45321342/how-to-build-fftw-in-ubuntu?
Hi just curious if you found a resolution. Running into the same problem.