On Tue, Dec 28, 2021, Guodong wrote:
>
>i met a problem in installation.
>
>/usr/bin/ld: /usr/local/lib/libfftw3.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
In many cases, you don't want to use the system-supplied fftw libraries, for
reasons like that shown above. Add the following to your run_cmake file:
-DFORCE_INTERNAL_LIBS="fftw"
...good luck...dac
[Aside to Amber developers: above is another reason to be wary of external
dependencies. Using the system libfftw3 may work on *your* system, and it
saves a minute or two in the build. But who knows what a user will have
in /usr/local/lib, or where it came from?]
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Dec 28 2021 - 07:00:03 PST