Re: [AMBER] Error building Amber

From: David A Case <david.case.rutgers.edu>
Date: Tue, 28 Jul 2020 09:43:52 -0400

On Mon, Jul 27, 2020, Walton Smith wrote:
>
> I’m using Catalina (10.15.5), and I do have homebrew from when I installed
> the open source PyMOL. In my /usr/local/lib folder I have cmake, docker, 
> python3.7 and python 3.8 along with an unknown pkgconfig folder and
> several lib—.dylib and .a files. I have attached the cmake.log file. Let
> me know if you might have any idea. Thank you so much for getting back to
> me so fast.

Thanks for the details. Here is the error message from the cmake.log file:

CMake Error at cmake/LibraryUtils.cmake:75 (message):
   Could not determine whether
   "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libbz2.tbd"
   is a static or shared library, it does not have a known suffix.
Call Stack (most recent call first):
   cmake/LibraryTracking.cmake:40 (get_lib_type)
   cmake/LibraryTracking.cmake:196 (using_external_library)
   cmake/3rdPartyTools.cmake:956 (import_libraries)
   CMakeLists.txt:194 (include)

All Mac's have *.tbd files in the indicated directory, but this is the first
problem report we have seen.

Do you have a libbz2.dylib file in /usr/lib? I would
think that the external library searching routine should find that one first.

cc-ing to Jaime for his thoughts. Jamie: if the library search finds an
unknown suffix, why not just ignore it, rather than exiting with an error?

Here is info on .tbd files:

   https://stackoverflow.com/questions/31450690/why-xcode-7-shows-tbd-instead-of-dylib

One possible other thing to try: My guess is that you are using the
homebrew installation of cmake, and that might make your machine different
from mine. Can you try the suggestion here:

    https://ambermd.org/InstMacOS.php

and get (as instructed) /Applications/Cmake.app/Contents/bin first in your
PATH? That will have you use the version of cmake from cmake.org.
(This might solve the problem, but it seems to be a bit of a stretch.)

....dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Jul 28 2020 - 07:00:03 PDT
Custom Search