-lcc dynamic missing on latest Mac


Click here for full thread
Gets Around
I rebuilt NWChem on my Mac for the first time in a few months and got an error about -lcc_dynamic not being available.

Anyways, I am running 10.11.6 (El Capitan) with the latest Xcode as of this date (I do not know the version). I compiled with Intel 17.0 compilers, but this shouldn't matter, since they just use the system C library.

Anyways, I am noting this in case others run into the same issue. The fix is trivial, but is listed below for posterity.

src jrhammon$ svn diff config/makefile.h
Index: config/makefile.h
=======================================================
--- config/makefile.h (revision 28547)
+++ config/makefile.h (working copy)
@@ -1015,7 +1015,7 @@
    ifeq ($(_GCC4),Y) 
# EXTRA_LIBS +=
else
- EXTRA_LIBS += -lm -lcc_dynamic
+ EXTRA_LIBS +=
    endif
endif
endif
@@ -1182,7 +1182,7 @@
    ifeq ($(_GCC4),Y) 
# EXTRA_LIBS +=
else
- EXTRA_LIBS += -lm -lcc_dynamic
+ EXTRA_LIBS +=
    endif

# required for mpich2 3.x and clang