[AMBER] Amber20 compilation issue (related to boost?)

From: Suman Chakrabarty <chakrabarty.suman.gmail.com>
Date: Thu, 8 Oct 2020 11:37:08 +0530

Hello!

I am trying to install Amber20 on a server running the "Linux Mint 20
Ulyana" OS. I have installed Amber18 successfully in the same machine (even
enabled CUDA).

But during the build stage for Amber20 I am getting errors presumably
related to linking to boost libraries. The configure step (./configure gnu)
did not complain about anything including boost!

I am pasting below the first and last part of the error message that I see
during the "make install" phase. Any idea how to troubleshoot this? Thanks.
==============================================
(if [ "yes" = 'yes' -a "yes" = 'yes' ]; then \
cd moft && make install ;\
fi ;\
)
make[2]: Entering directory '/home/apps/amber20/AmberTools/src/moft'
[MoFT] CXX metatwist.cpp
[MoFT] CXX /home/apps/amber20/bin/metatwist
/usr/bin/ld: metatwist.o: in function
`boost::iostreams::gzip_error::gzip_error(int)':
metatwist.cpp:(.text._ZN5boost9iostreams10gzip_errorC2Ei[_ZN5boost9iostreams10gzip_errorC5Ei]+0x6d):
undefined reference to `boost::iostreams::zlib::okay'
/usr/bin/ld: metatwist.o: in function
`boost::iostreams::detail::gzip_header::gzip_header()':
metatwist.cpp:(.text._ZN5boost9iostreams6detail11gzip_headerC2Ev[_ZN5boost9iostreams6detail11gzip_headerC5Ev]+0x35):
undefined reference to `boost::iostreams::detail::gzip_header::reset()'
/usr/bin/ld: metatwist.o: in function
`boost::iostreams::detail::gzip_footer::gzip_footer()':
metatwist.cpp:(.text._ZN5boost9iostreams6detail11gzip_footerC2Ev[_ZN5boost9iostreams6detail11gzip_footerC5Ev]+0x18):
undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
/usr/bin/ld: metatwist.o: in function
`boost::iostreams::basic_gzip_decompressor<std::allocator<char>
>::make_params(int)':
.
.
.
/usr/bin/ld:
metatwist.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl]+0x3d5):
undefined reference to `boost::iostreams::detail::gzip_header::reset()'
/usr/bin/ld:
metatwist.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl]+0x3e8):
undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:31: /home/apps/amber20/bin/metatwist] Error 1
make[2]: Leaving directory '/home/apps/amber20/AmberTools/src/moft'
make[1]: *** [Makefile:42: serial] Error 2
make[1]: Leaving directory '/home/apps/amber20/AmberTools/src'
make: *** [Makefile:7: install] Error 2

Best regards,
Suman.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Oct 07 2020 - 23:30:06 PDT
Custom Search