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

Ambros Gleixner gleixner at zib.de
Sat Mar 11 14:09:44 CET 2017


Hi Matthias,

Sorry for not resolving this problem.  We currently do not have 
sufficient tests for our builds on Mac and so this again slipped our 
attention.  I still have your old discussion from last July of how to 
fix this.  It is on our todo list now for 4.0.1.

I suppose you got it working with your workarounds from back then.  If 
not and we can help, let us know.

Best,
Ambros


On 10.03.2017 19:14, Matthias Koeppe wrote:
> 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.
>

-- 
Ambros Gleixner, Zuse Institute Berlin, http://www.zib.de/gleixner


More information about the Scip mailing list