Hello,
I am trying to install Amber24 on my cluster using Debian 11 and cmake-3.30.0-rc4 source code as my cmake executable. I've installed all of the necessary packages listed on the "Installing Amber on Debian" page and followed the installation instructions listed in the Amber24 Reference Manual. It seems like running ./run_cmake goes smoothly, the cmake.log file generates no errors, but when I run "make install" the build stops and I get the following error:
[ 19%] Building CXX object AmberTools/src/cew/CMakeFiles/libcew.dir/iface.cpp.o
[ 19%] Linking CXX shared library libcew.so
/usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): warning: relocation against `stdout..GLIBC_2.2.5' in read-only section `.text'
/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
make[2]: *** [AmberTools/src/cew/CMakeFiles/libcew.dir/build.make:114: AmberTools/src/cew/libcew.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:6423: AmberTools/src/cew/CMakeFiles/libcew.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Can someone please help me to figure out what the error is here?
Thank you,
Anna Stein
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Jun 26 2024 - 11:30:01 PDT