[SCIP] SCIPoptsuite 4.0.0 shared library installation broken on Mac OS X

Matthias Koeppe mkoeppe at math.ucdavis.edu
Fri Mar 10 19:14:04 CET 2017


I just tried the new 4.0.0 release of SCIPoptsuite with:

$ make install INSTALLDIR=/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/
SHARED=true

on Mac OS X (with gcc 5.4.0)
and noticed that the installed binary does not have the correct shared
library linkage.

$ /Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/bin/scip
dyld: Library not loaded: lib/shared/libscip-4.0.0.darwin.x86_64.gnu.opt.so
  Referenced from:
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/bin/scip
  Reason: image not found
Trace/BPT trap: 5

$ otool -L /Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/bin/scip-4.0.0.darwin.x86_64.gnu.opt.spx2.none
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/bin/scip-4.0.0.darwin.x86_64.gnu.opt.spx2.none:
lib/shared/libscip-4.0.0.darwin.x86_64.gnu.opt.so (compatibility
version 0.0.0, current version 0.0.0)
lib/shared/libobjscip-4.0.0.darwin.x86_64.gnu.opt.so (compatibility
version 0.0.0, current version 0.0.0)
lib/shared/liblpispx2-4.0.0.darwin.x86_64.gnu.opt.so (compatibility
version 0.0.0, current version 0.0.0)
lib/shared/libnlpi.cppad-4.0.0.darwin.x86_64.gnu.opt.so (compatibility
version 0.0.0, current version 0.0.0)
lib/shared/libtpinone-4.0.0.darwin.x86_64.gnu.opt.so (compatibility
version 0.0.0, current version 0.0.0)
lib/libsoplex-3.0.0.darwin.x86_64.gnu.opt.so (compatibility version
0.0.0, current version 0.0.0)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/libz.1.dylib
(compatibility version 1.0.0, current version 1.2.8)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools//lib/libgmp.16.dylib
(compatibility version 23.0.0, current version 23.2.0)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools//lib/libreadline.6.dylib
(compatibility version 6.0.0, current version 6.3.0)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools//lib/libncurses.5.dylib
(compatibility version 5.0.0, current version 5.0.0)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/libstdc++.6.dylib
(compatibility version 7.0.0, current version 7.21.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1226.10.1)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/libgcc_s.1.dylib
(compatibility version 1.0.0, current version 1.0.0)

Likewise, the installed shared libraries have the same problem.

$ otool -L /Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/libscipopt-4.0.0.darwin.x86_64.gnu.opt.so
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/libscipopt-4.0.0.darwin.x86_64.gnu.opt.so:
lib/libscipopt-4.0.0.darwin.x86_64.gnu.opt.so (compatibility version
0.0.0, current version 0.0.0)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/libz.1.dylib
(compatibility version 1.0.0, current version 1.2.8)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools//lib/libgmp.16.dylib
(compatibility version 23.0.0, current version 23.2.0)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools//lib/libreadline.6.dylib
(compatibility version 6.0.0, current version 6.3.0)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools//lib/libncurses.5.dylib
(compatibility version 5.0.0, current version 5.0.0)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/libstdc++.6.dylib
(compatibility version 7.0.0, current version 7.21.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1226.10.1)
/Users/mkoeppe/s/sage/sage-rebasing/another-local-sans-autotools/lib/libgcc_s.1.dylib
(compatibility version 1.0.0, current version 1.0.0)


I had reported the same failures, with fixes/workarounds, for the
previous release.

-- 
Dr. Matthias Koeppe . . . . . . . . . . . http://www.math.ucdavis.edu/~mkoeppe
Professor, Mathematics
Chair, Applied Mathematics (Graduate Group) . . http://appliedmath.ucdavis.edu


More information about the Scip mailing list