Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MathSAT / OSX: Hardcoded library path in 5.5.1 #483

Closed
marcogario opened this issue May 20, 2018 · 2 comments
Closed

MathSAT / OSX: Hardcoded library path in 5.5.1 #483

marcogario opened this issue May 20, 2018 · 2 comments

Comments

@marcogario
Copy link
Contributor

marcogario commented May 20, 2018

Incorrect dylib object in _mathsat.so on OSX.

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "mathsat.py", line 21, in <module>
    _mathsat = swig_import_helper()
  File "mathsat.py", line 20, in swig_import_helper
    return importlib.import_module('_mathsat')
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: dlopen(./_mathsat.so, 2): Library not loaded: /Users/griggio/Documents/src/mathsat_release/build/libmathsat.dylib
  Referenced from: /Users/travis/python_bindings/msat/_mathsat.so
  Reason: image not found

We either need to change the installer to rewrite this (we already had this issue with CVC4 on mac, if I recall correctly), or this needs to be fixed upstream.

@marcogario marcogario changed the title MathSAT / OSX: MathSAT / OSX: Hardcoded library path in 5.5.1 May 20, 2018
@marcogario
Copy link
Contributor Author

@agriggio Can you take a look?

This is how I plan to solve this: https://stackoverflow.com/questions/40325858/how-to-change-rpath-on-os-x

@marcogario
Copy link
Contributor Author

This is solved in our installer in PR #487 . However, this should be fixed upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant