Skip to content

FFTW3 linking problem #9

@apc518

Description

@apc518

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions