Re: [AMBER] [EXTERNAL] Release of AmberTools21

From: David A Case <>
Date: Thu, 6 May 2021 08:34:47 -0400

On Thu, May 06, 2021, Gustaf Olsson wrote:

>Finally had time to look at the test results of the compile, there seems to be an issue:
> ld: library not found for -lz.tbd
> collect2: error: ld returned 1 exit status

We know about this, but a solution is elusive. Once the semester is done
here in the US, we may be able to get further. Several points:

1. This only causes problems for some NAB programs. Since very few
AmberTools users use NAB anyway, for most people, this should not be a
problem. Further, many mac users actually have zlib installed via macports
or homebrew (since it is a common requirement). They should not see this

2. For a workaround, do this:

      download zlib source from
      ./configure; make; sudo make install
      add -DCMAKE_PREFIX_PATH=/usr/local to the run_cmake script

3. Another workaround: use the conda package, where this problem
(mysteriously) doesn't occur.

...thanks for the report....dac

AMBER mailing list
Received on Thu May 06 2021 - 06:00:03 PDT
Custom Search