Hello all,
I am attempting to compile an installation of ISSM with a Python interface on MacOS (I already have a working MATLAB interface).
I can successfully ./configure.sh
the install, but when running make
I eventually receive the following error:
[...]
CXXLD libISSMCore.la
/bin/sh: -L/opt/homebrew/lib/gcc/current: No such file or directory
make[3]: *** [libISSMCore.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
The -L/opt/homebrew/lib/gcc/current
pointed towards is user-specified via the --with-fortran-lib
option within configure.sh
:
--with-fortran-lib="-L/opt/homebrew/lib/gcc/current -lgfortran"
This was installed via homebrew
, and definitely exists - in fact, I use exactly the same line within my MATLAB installation, which compiles perfectly!
I wonder if anyone has pointers as to what is going on, or any gremlins that might differ when compiling for Python?
Cheers.