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

OS X: use RPATH to reference libSBML? #28

Open
agarny opened this issue May 20, 2016 · 0 comments
Open

OS X: use RPATH to reference libSBML? #28

agarny opened this issue May 20, 2016 · 0 comments

Comments

@agarny
Copy link
Contributor

agarny commented May 20, 2016

Right now, if you build libSEDML on OS X and then do otool -L libsedml.0.dylib, I get:

libsedml.0.dylib:
    libsedml.0.dylib (compatibility version 0.0.0, current version 0.3.1)
    libsbml.5.dylib (compatibility version 5.0.0, current version 5.13.0)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)

However, it would be much better (for deployment purposes), if we were to get:

libsedml.0.dylib:
    libsedml.0.dylib (compatibility version 0.0.0, current version 0.3.1)
    @rpath/libsbml.5.dylib (compatibility version 5.0.0, current version 5.13.0)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)

Sure, this can be done manually by calling install_name_tool -change libsbml.5.dylib @rpath/libsbml.5.dylib libsedml.0.dylib, but it would be nice if it could be done automatically.

@agarny agarny changed the title OS X: usr RPATH to reference libSBML? OS X: use RPATH to reference libSBML? May 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant