[AMBER] BZIP2 Error when building Amber24

From: Patricio Barletta via AMBER <amber.ambermd.org>
Date: Mon, 4 Nov 2024 21:14:19 +0000

Hi,

I noticed that both are linking against a static library of bzip2. Have you tried linking against a dynamic library instead?

There's more than one program using bzip2 and there's also programs depending on other programs that also depend on bzip2. When that happens, the linking is of a static library is a bit more "demanding", since the client target expects the full code to be available, not just the definitions. Also, since linkage is different, CMake treats shared and static libraries differently and that may result in surprising behavior.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Nov 04 2024 - 13:30:01 PST
Custom Search