[AMBER] Amber Install on Mojave (ld: library not found for -lmc) Fix

From: Andrew Schaub <aschaub.uci.edu>
Date: Sun, 7 Oct 2018 20:02:03 -0400

Good Evening,

I just thought I would mention this on the listserv in case anyone else has
similar issues. When trying to install on Mojave, I was getting the
following error message:

ld: library not found for -lmc

It turns out it the compiler was looking for the /usr/include folder which
no longer exists with the most recent version of XCode Developer Tools and
Mojave. In order to get the installation to work, just install the include
folder from the following link instructions:

There is a .pkg file (
which will install the include folder into the /usr/ folder like previous
versions of MacOS and XCode.

Afterwards I was able to get AMBER to work, using gcc5
./configure -macAccelerate gnu

Best Regards,

AMBER mailing list
Received on Sun Oct 07 2018 - 17:30:03 PDT
Custom Search