[SCIP] Scip 7.0.0 on a mac

Victor Miller victorsmiller at gmail.com
Thu May 14 23:14:31 CEST 2020


I'm currently trying to install Scip on my iMac
running Catalina.  I first tried to download the prebuilt mac version.
However, when I run scip I get the following error:

./scip
dyld: Library not loaded: /usr/local/opt/gcc/lib/gcc/8/libgfortran.5.dylib
  Referenced from:
/Users/victorsmiller/Programming/LP/SCIPOptSuite-7.0.0-Darwin/bin/./scip
  Reason: image not found
Abort trap: 6

I do not have a directory /usr/local/opt/gcc/lib/gcc/8/ but do have a directory
/usr/local/opt/gcc/lib/gcc/9/

So, I'm assuming that the prebuilt version was for an earlier version of gcc.
Are there some environment variables that I can set to fix this?

I then downloaded scipoptsuite-7.0.0.tgz unpacked it, made a build
subdirectory and then did cmake .. in that directory.  This yielded
errors, where it said it couldn't find quadmath.h.

I do have quadmath.h in the directory
/usr/local/gfortran/lib/gcc/x86_64-apple-darwin16/6.3.0/include/quadmath.h

and the libraries in

/usr/local/gfortran/lib/i386/libquadmath.0.dylib

/usr/local/gfortran/lib/i386/libquadmath.dylib

/usr/local/gfortran/lib/libquadmath.0.dylib

/usr/local/gfortran/lib/libquadmath.dylib

Any suggestions as to how I can get things built?

Victor Miller


More information about the Scip mailing list