-
Notifications
You must be signed in to change notification settings - Fork 18
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
Building with rpaths on OSX High Sierra #63
Comments
@rijobro, I think this can be closed? |
The option, A short-term fix is to use As for long-term, I'm not so sure. Boost isn't compiled with CMake; what else isn't? We would have to find fixes for all of those... |
I was wondering if this wouldn't be fixed if we'd let the SuperBuild use boost 1.66. I saw no reason not to, until I found that boost 1.66 doesn't compile on Travis OSX, and therefore presumably some versions of OSX. Sigh. I therefore suggest that on OSX, we currently set the USE_SYSTEM_BOOST to ON by default, and document the |
use system boost by default because of #63
With OSX, dynamic libraries can be referred to as (using the example of libboostfilesystem.dylib):
libboostfilesystem.dylib
,@rpath/libboostfilesystem.dylib
, or/absolute/path/to/libboostfilesystem.dylib
.Compilation against the first of these three causes linking errors on my version of OSX. This is possibly due to changes to SIP for High Sierra (or possible a problem specific to my machine).
Possible solutions include:
Hopefully this issue will sort itself out over time.
The text was updated successfully, but these errors were encountered: