jeremysalwen / TalentedHack

LV2 port of Autotalent pitch correction plugin
GNU General Public License v3.0
117 stars 18 forks source link

FFTW3 linking problem #9

Open apc518 opened 2 years ago

apc518 commented 2 years ago

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?

jeremysalwen commented 2 years ago

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?

profquad commented 5 days ago

Hi just curious if you found a resolution. Running into the same problem.