[AMBER] Installation error AMBERTOOLS21

From: Mandar Kulkarni <mandar.kulkarni.chem.gmail.com>
Date: Sun, 20 Jun 2021 14:22:22 +0200

Dear All,

I am installing AMBERTOOLS 21 on Ubuntu 18.04 , but facing the error during
the "make install" step.

/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
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
AmberTools/src/sander/CMakeFiles/libsander.dir/build.make:3282: recipe for
target 'AmberTools/src/sander/libsander.so' failed
make[2]: *** [AmberTools/src/sander/libsander.so] Error 1
CMakeFiles/Makefile2:2314: recipe for target
'AmberTools/src/sander/CMakeFiles/libsander.dir/all' failed
make[1]: *** [AmberTools/src/sander/CMakeFiles/libsander.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

I thought this was an error due to fftw3, so I changed the library path in
run_cmake to manually install FFTW 3.3.8, but it seems I am not mentioning
path correctly. The error persists even after this change.

I added this line to run_cmake

-Dfftw_C_LIBRARY=/usr/local/fftw-3.3.8/lib
-Dfftw_C_INCLUDE_DIR=/usr/local/fftw-3.3.8/include

Could you please suggest how to solve this error? Thanks in advance.

Best Regards,
Mandar Kulkarni
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Jun 20 2021 - 05:30:02 PDT
Custom Search