Re: [AMBER] error: installing amber18 on MacOS

From: Gustaf Olsson <>
Date: Sat, 20 Jun 2020 21:19:07 +0000

What version of Xcode do you have installed?

I have still not found the time to update the current instructions for installing on OS X though the ld issue was a problem with previous installls as Apple dropped support for some libraries.

// Gustaf

Från: gaohanlu <>
Skickat: den 18 juni 2020 16:29:58
Till: AMBER Mailing List
Ämne: [AMBER] error: installing amber18 on MacOS

Dear all,
I tried to install amber18 on macOS 10.15. I have installed Xcode11 and command lines tools.
When I compiled amber18 with macOS clang using the command line:
./configure -noX11 -macAccelerate clang
 I got the following error. Can somebody please help me?
ld: library not found for -lmc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
./configure2: line 2643: ./testp: No such file or directory
Error: Unable to compile mixed C/Fortran code.
       Please check your compiler settings and configure flags.
Configure failed due to the errors above!
Gao hanlu

AMBER mailing list
AMBER mailing list
Received on Sat Jun 20 2020 - 14:30:03 PDT
Custom Search