On Thu, Oct 11, 2018, Matthew Fisher wrote:
> Testing mixed C/Fortran compilation:
>
> clang -fPIC -DUSE_AMBER_C9XCOMPLEX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o testp.c
>
> gfortran -fPIC -O0 -c -o testp.f.o testp.f
>
> clang -fPIC -DUSE_AMBER_C9XCOMPLEX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c.o testp.f.o -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin16/6.3.0/../../../ -lgfortran -w -framework Accelerate -lmc
>
> ld: library not found for -lmc
What arguments did you give when running configure?
There have been a number of posts here about problems in compiling Amber
on OSX 10.14: check the archives.
The particular message you see above seems to have a workaround:
http://archive.ambermd.org/201810/0106.html
....dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Oct 11 2018 - 19:30:02 PDT