-
Notifications
You must be signed in to change notification settings - Fork 599
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
Malmo linux releases require specific boost versions #392
Comments
Hmm, probably not: "There is no way to build an executable or library that will be version-agnostic to the Boost version it uses." - see http://stackoverflow.com/a/32964146 Boost doesn't maintain ABI compatibility between versions, so our only option would be to link boost statically, as we currently do for Debian 7, for example. Looking at the sizes of the binaries in the releases, it doesn't seem as though statically linking will add a huge overhead, so this might be worth considering. Going to the other extreme, we could stop providing prebuilt Linux binaries, and just ask people to build their own. (Building is pretty simple on Linux.) |
Turns out there's an issue with linking boost statically - the boost static libraries aren't compiled with Bottom line seems to be that anyone attempting to build Malmo from source would be forced to recompile boost with -fPIC before compiling Malmo. This seems a heavy price to pay. It makes life easier for users who just want to install a prebuilt Malmo, but it penalises anyone who wants to build it themselves. |
@timhutton proposed something like this: That way, everyone wins. |
Fixed in #434 |
Is it possible to avoid this?
The text was updated successfully, but these errors were encountered: