-
Notifications
You must be signed in to change notification settings - Fork 2.4k
libscip linkage with OR Tools 9.13 on Mac #4674
Copy link
Copy link
Closed
Labels
Milestone
Description
Hi, with OR Tools 9.13 on Mac, libortools.dylib links to libscip.9.2.dylib without including rpath (while all of the other linked libraries include it). This leads to linkage errors with downstream projects.
What version of OR-Tools and what language are you using?
Version: 9.13
Language: C++
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi) n/a
What operating system (Linux, Windows, ...) and version? macOS 15.5
What did you do?
Run otool -L lib/libortools.dylib.
What did you expect to see
lib/libortools.dylib:
...
@rpath/libClpSolver.1.dylib (compatibility version 1.0.0, current version 1.17.10)
@rpath/libscip.9.2.dylib (compatibility version 9.2.0, current version 9.2.2)
@rpath/libabsl_flags_usage_internal.2505.0.0.dylib (compatibility version 2505.0.0, current version 0.0.0)
...
What did you see instead?
lib/libortools.dylib:
...
@rpath/libClpSolver.1.dylib (compatibility version 1.0.0, current version 1.17.10)
libscip.9.2.dylib (compatibility version 9.2.0, current version 9.2.2)
@rpath/libabsl_flags_usage_internal.2505.0.0.dylib (compatibility version 2505.0.0, current version 0.0.0)
...
Anything else we should know about your project / environment n/a
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done