ryanjoneil / SCIP.jl

(deprecated) Julia interface to the SCIP solver
MIT License
2 stars 4 forks source link

Problem with OS X library loading #28

Closed iamed2 closed 5 years ago

iamed2 commented 9 years ago

I followed the build instructions in the README.md and got the library libscipopt-3.2.0.darwin.x86_64.gnu.opt.so, with no dylib. The Julia code expects a dylib, so I symlinked to libscipopt.dylib (this appears to be following the instructions in the README.md). Now when running tests I get:

Loaded SCIP version: 3.2
dyld: lazy symbol binding failed: Symbol not found: _BMSallocMemory_call
  Referenced from: ./libscipopt.dylib
  Expected in: flat namespace

dyld: Symbol not found: _BMSallocMemory_call
  Referenced from: ./libscipopt.dylib
  Expected in: flat namespace

Trace/BPT trap: 5
mlubin commented 9 years ago

What's the output of otool -L libscipopt.dylib?

iamed2 commented 9 years ago
~/.julia/v0.4/SCIP: otool -L libscipopt.dylib
libscipopt.dylib:
    lib/libscipopt-3.2.0.darwin.x86_64.gnu.opt.so (compatibility version 0.0.0, current version 0.0.0)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
mlubin commented 9 years ago

Hmm, you may be on your own for a while to debug this. I don't have access to OS X.