Re: [AMBER] Error installing amber macOS M1

From: David A Case <>
Date: Fri, 1 Oct 2021 08:13:42 -0400

On Thu, Sep 30, 2021, Rodrigo da Silva Bitzer wrote:
>Using /usr/bin/patch, I could run make install until the following error:
>[ 96%] Linking CXX executable metatwist
>Undefined symbols for architecture arm64:
> "boost::iostreams::detail::bzip2_base::end(bool, std::nothrow_t)", referenced from:
> boost::iostreams::symmetric_filter<boost::iostreams::detail::bzip2_decompressor_impl<std::__1::allocator<char> >, std::__1::allocator<char> >::symmetric_filter<bool>(long, bool const&) in metatwist.cpp.o

I'm guessing that you may be the first person to try to use homebrew on M1
to build Amber. Try adding -DFORCE_INTERNAL_LIBS="boost" to the options
in your run_cmake script. This should compile boost locally, and not rely
on the installed library.


AMBER mailing list
Received on Fri Oct 01 2021 - 05:30:03 PDT
Custom Search