Hi all,
I've searched for an answer in the archives and can't find one so thought I would email this to the list. I was following the instructions to install Ambertools given here
http://ambermd.org/Installation.php & in the manual and I keep returning this error. Has anyone seen this before and/or could give me some advice on what to do next as I am rather stuck
Many thanks,
Matthew Fisher
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
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.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Oct 11 2018 - 10:30:02 PDT