Re: [AMBER] Error installing amber macOS M1

From: Rodrigo da Silva Bitzer <>
Date: Thu, 30 Sep 2021 21:06:08 +0000

Dear David,

Using /usr/bin/patch, I could run make install until the following error:

[ 96%] Linking CXX executable metatwist
ld: warning: dylib (/opt/homebrew/lib/libfftw3.dylib) was built for newer macOS version (11.4) than being linked (11.0)
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
      boost::detail::shared_count::shared_count<boost::iostreams::symmetric_filter<boost::iostreams::detail::bzip2_decompressor_impl<std::__1::allocator<char> >, std::__1::allocator<char> >::impl>(boost::iostreams::symmetric_filter<boost::iostreams::detail::bzip2_decompressor_impl<std::__1::allocator<char> >, std::__1::allocator<char> >::impl*) in metatwist.cpp.o
      boost::detail::sp_counted_impl_p<boost::iostreams::symmetric_filter<boost::iostreams::detail::bzip2_decompressor_impl<std::__1::allocator<char> >, std::__1::allocator<char> >::impl>::dispose() in metatwist.cpp.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [AmberTools/src/moft/CMakeFiles/metatwist.dir/build.make:108: AmberTools/src/moft/metatwist] Error 1
make[1]: *** [CMakeFiles/Makefile2:5348: AmberTools/src/moft/CMakeFiles/metatwist.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Rodrigo S. Bitzer
Professor Adjunto A (Assistant Professor)
Molecular Modeling, Computational Catalysis and Supramolecular Chemistry
Departamento de Físico-Química, Instituto de Química
Universidade Federal do Rio de Janeiro, Brazil;
From: David A Case <>
Sent: Thursday, September 30, 2021 3:01 PM
To: AMBER Mailing List <>
Subject: Re: [AMBER] Error installing amber macOS M1
On Thu, Sep 30, 2021, Rodrigo da Silva Bitzer wrote:
>patch is installed on /opt/homebrew/bin. I am using homebrew.
>About my hardware, it has chip apple M1 and 16 GB RAM.
Try temporarily moving /opt/homebrew/bin/patch to another location, so that
update_amber will use /usr/bin/patch.
AMBER mailing list
AMBER mailing list
Received on Thu Sep 30 2021 - 14:30:03 PDT
Custom Search