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
problem.
2. For a workaround, do this:
download zlib source from zlib.net
./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
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu May 06 2021 - 06:00:03 PDT